Instance methods
access_token=(v : String) : String
access_token=(v : Nil)
nil assignments are always ignored
access_token_secret=(v : String) : String
access_token_secret=(v : Nil)
nil assignments are always ignored
accounts(with_deleted : Bool = false, count : Int32 = 200, cursor : String = "") : Api::Accounts
Sourceapi_suffix=(v : String) : String
api_suffix=(v : Nil)
nil assignments are always ignored
api_version=(v : String) : String
api_version=(v : Nil)
nil assignments are always ignored
authenticated_user_access(account_id : String) : Api::AuthenticatedUserAccess
Sourceauthorized?
#####################################################################
Accessor methods
Sourcebearer_token=(v : String) : String
bearer_token=(v : Nil)
nil assignments are always ignored
campaigns(account_id : String, with_deleted : Bool = false, with_draft : Bool = false, count : Int32 = 200, cursor : String = "") : Api::Campaigns
Sourcecards(account_id : String, count : Int32 = 200, cursor : String = "") : Api::Cards
Sourcecards_all(account_id : String, card_uris : Array(String)) : Api::CardsAll
Sourcecards_image_app_download(account_id : String, count : Int32 = 200, cursor : String = "") : Api::CardsImageAppDownload
Sourcecards_image_conversation(account_id : String, count : Int32 = 200, cursor : String = "") : Api::CardsImageConversation
Sourcecards_image_direct_message(account_id : String, count : Int32 = 200, cursor : String = "") : Api::CardsImageDirectMessage
Sourcecards_poll(account_id : String, count : Int32 = 200, cursor : String = "") : Api::CardsPoll
Sourcecards_video_app_download(account_id : String, count : Int32 = 200, cursor : String = "") : Api::CardsVideoAppDownload
Sourcecards_video_conversation(account_id : String, count : Int32 = 200, cursor : String = "") : Api::CardsVideoConversation
Sourcecards_video_direct_message(account_id : String, count : Int32 = 200, cursor : String = "") : Api::CardsVideoDirectMessage
Sourcecards_video_website(account_id : String, count : Int32 = 200, cursor : String = "") : Api::CardsVideoWebsite
Sourcecards_website(account_id : String, count : Int32 = 200, cursor : String = "") : Api::CardsWebsite
Sourceconnect_timeout=(v : Float64) : Float64
connect_timeout=(v : Nil)
nil assignments are always ignored
consumer_key=(v : String) : String
consumer_key=(v : Nil)
nil assignments are always ignored
consumer_secret=(v : String) : String
consumer_secret=(v : Nil)
nil assignments are always ignored
custom_audiences(account_id : String, with_deleted : Bool = false, count : Int32 = 200, cursor : String = "") : Api::CustomAudiences
Sourcedns_timeout=(v : Float64) : Float64
dns_timeout=(v : Nil)
nil assignments are always ignored
dryrun=(v : Nil)
nil assignments are always ignored
funding_instruments(account_id : String, count : Int32 = 200, cursor : String = "") : Api::FundingInstruments
Sourceget(path : String, params = {} of String => String) : Response
See ./api/*.cr
#####################################################################
HTTP methods
Sourcejq=(v : Nil)
nil assignments are always ignored
line_items(account_id : String, with_deleted : Bool = false, with_draft : Bool = false, count : Int32 = 200, cursor : String = "") : Api::LineItems
Sourcelogger=(v : Logger) : Logger
logger=(v : Nil)
nil assignments are always ignored
oauth2_ads=(v : Bool) : Bool
oauth2_ads=(v : Nil)
nil assignments are always ignored
oauth2_standard=(v : Bool) : Bool
oauth2_standard=(v : Nil)
nil assignments are always ignored
post(path : String, form = {} of String => String) : Response
Sourcepreroll_call_to_actions(account_id : String, count : Int32 = 200, cursor : String = "") : Api::PrerollCallToActions
Sourceread_timeout=(v : Float64) : Float64
read_timeout=(v : Nil)
nil assignments are always ignored
statuses_lookup(id : String | Array(String)) : Api::StatusesLookup
This is not "twitter-ads-api" but "twitter-api" that requires ".json" extension.
So the setting of TwitterAds::Client#api_suffix should be ignored.
Sourceswitch_domain=(v : Bool) : Bool
switch_domain=(v : Nil)
nil assignments are always ignored
targeting_criteria(account_id : String, line_item_ids : Array(String), with_deleted : Bool = false, count : Int32 = 200, cursor : String = "") : Api::TargetingCriteria
Sourcetargeting_criteria_app_store_categories(q : String | Nil = nil, store : String | Api::TargetingCriteriaAppStoreCategories::Store | Nil = nil) : Api::TargetingCriteriaAppStoreCategories
Sourcetargeting_criteria_conversations(conversation_type : String | Api::TargetingCriteriaConversations::ConversationType | Nil = nil, count : Int32 = 200, cursor : String = "") : Api::TargetingCriteriaConversations
Sourcetargeting_criteria_devices(q : String | Nil = nil, count : Int32 = 200) : Api::TargetingCriteriaDevices
Sourcetargeting_criteria_events(event_types : String | Api::TargetingCriteriaEvents::EventTypes, country_codes : String | Nil = nil, ids : String | Array(String) | Nil = nil, start_time : String | Time | Nil = nil, end_time : String | Time | Nil = nil, count : Int32 = 200, cursor : String = "") : Api::TargetingCriteriaEvents
Sourcetargeting_criteria_interests(q : String | Nil = nil, count : Int32 = 200, cursor : String = "") : Api::TargetingCriteriaInterests
Sourcetargeting_criteria_languages(q : String | Nil = nil, count : Int32 = 200, cursor : String = "") : Api::TargetingCriteriaLanguages
Sourcetargeting_criteria_locations(country_code : String | Nil = nil, location_type : String | Nil = nil, q : String | Nil = nil, count : Int32 = 200, cursor : String = "") : Api::TargetingCriteriaLocations
Sourcetargeting_criteria_network_operators(country_code : String | Nil = nil, q : String | Nil = nil, count : Int32 = 200, cursor : String = "") : Api::TargetingCriteriaNetworkOperators
Sourcetargeting_criteria_tv_markets
Sourcetargeting_criteria_tv_shows(tv_market_locale : String, q : String | Nil = nil, count : Int32 = 200, cursor : String = "") : Api::TargetingCriteriaTvShows
Sourcetweets(account_id : String, tweet_type : String | Api::Tweets::TweetType = "PUBLISHED", include_mentions_and_replies : Bool = false, timeline_type : String | Api::Tweets::TimelineType = "NULLCAST", trim_user : Bool = false, tweet_ids : String | Nil = nil, user_id : Int64 | Nil = nil, count : Int32 = 200, cursor : String = "") : Api::Tweets
Sourceuri=(v : Nil)
nil assignments are always ignored
user_agent=(v : String) : String
user_agent=(v : Nil)
nil assignments are always ignored