This connector is optimized for AI agents. For the data replication connector, see Tiktok Marketing .
This is the full reference documentation for the Tiktok-Marketing agent connector.
Supported entities and actions
The Tiktok-Marketing connector supports the following entities and actions.
Entity Actions Advertisers List , Search Campaigns List , Search Ad Groups List , Search Ads List , Search Audiences List , Search Creative Assets Images List , Search Creative Assets Videos List , Search Advertisers Reports Daily List , Search Campaigns Reports Daily List , Search Ad Groups Reports Daily List , Search Ads Reports Daily List , Search
Advertisers
Advertisers List
Get advertiser account information
Python SDK
await tiktok_marketing . advertisers . list ( advertiser_ids = "<str>" )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "advertisers", "action": "list", "params": { "advertiser_ids": "<str>" } }'
Parameters
Parameter Name Type Required Description advertiser_idsstringYes Advertiser IDs (JSON array of strings) pageintegerNo Page number page_sizeintegerNo Number of items per page
Response Schema Records Field Name Type Description advertiser_idstringnamestringaddressnull | stringcompanynull | stringcontacternull | stringcountrynull | stringcurrencynull | stringdescriptionnull | stringemailnull | stringindustrynull | stringlanguagenull | stringlicense_nonull | stringlicense_urlnull | stringcellphone_numbernull | stringpromotion_areanull | stringrejection_reasonnull | stringrolenull | stringstatusnull | stringtimezonenull | stringbalancenumbercreate_timeintegertelephone_numbernull | stringdisplay_timezonenull | stringpromotion_center_provincenull | stringadvertiser_account_typenull | stringlicense_citynull | stringbrandnull | stringlicense_provincenull | stringpromotion_center_citynull | string
Advertisers Search
Search and filter advertisers records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
Python SDK
await tiktok_marketing . advertisers . search ( query = { "filter" : { "eq" : { "address" : "<str>" } } } )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "advertisers", "action": "search", "params": { "query": {"filter": {"eq": {"address": "<str>"}}} } }'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description addressstringThe physical address of the advertiser. advertiser_account_typestringThe type of advertiser's account (e.g., individual, business). advertiser_idintegerUnique identifier for the advertiser. balancenumberThe current balance in the advertiser's account. brandstringThe brand name associated with the advertiser. cellphone_numberstringThe cellphone number of the advertiser. companystringThe name of the company associated with the advertiser. contacterstringThe contact person for the advertiser. countrystringThe country where the advertiser is located. create_timeintegerThe timestamp when the advertiser account was created. currencystringThe currency used for transactions in the account. descriptionstringA brief description or bio of the advertiser or company. display_timezonestringThe timezone for display purposes. emailstringThe email address associated with the advertiser. industrystringThe industry or sector the advertiser operates in. languagestringThe preferred language of communication for the advertiser. license_citystringThe city where the advertiser's license is registered. license_nostringThe license number of the advertiser. license_provincestringThe province or state where the advertiser's license is registered. license_urlstringThe URL link to the advertiser's license documentation. namestringThe name of the advertiser or company. promotion_areastringThe specific area or region where the advertiser focuses promotion. promotion_center_citystringThe city at the center of the advertiser's promotion activities. promotion_center_provincestringThe province or state at the center of the advertiser's promotion activities. rejection_reasonstringReason for any advertisement rejection by the platform. rolestringThe role or position of the advertiser within the company. statusstringThe current status of the advertiser's account. telephone_numberstringThe telephone number of the advertiser. timezonestringThe timezone setting for the advertiser's activities.
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].addressstringThe physical address of the advertiser. data[].advertiser_account_typestringThe type of advertiser's account (e.g., individual, business). data[].advertiser_idintegerUnique identifier for the advertiser. data[].balancenumberThe current balance in the advertiser's account. data[].brandstringThe brand name associated with the advertiser. data[].cellphone_numberstringThe cellphone number of the advertiser. data[].companystringThe name of the company associated with the advertiser. data[].contacterstringThe contact person for the advertiser. data[].countrystringThe country where the advertiser is located. data[].create_timeintegerThe timestamp when the advertiser account was created. data[].currencystringThe currency used for transactions in the account. data[].descriptionstringA brief description or bio of the advertiser or company. data[].display_timezonestringThe timezone for display purposes. data[].emailstringThe email address associated with the advertiser. data[].industrystringThe industry or sector the advertiser operates in. data[].languagestringThe preferred language of communication for the advertiser. data[].license_citystringThe city where the advertiser's license is registered. data[].license_nostringThe license number of the advertiser. data[].license_provincestringThe province or state where the advertiser's license is registered. data[].license_urlstringThe URL link to the advertiser's license documentation. data[].namestringThe name of the advertiser or company. data[].promotion_areastringThe specific area or region where the advertiser focuses promotion. data[].promotion_center_citystringThe city at the center of the advertiser's promotion activities. data[].promotion_center_provincestringThe province or state at the center of the advertiser's promotion activities. data[].rejection_reasonstringReason for any advertisement rejection by the platform. data[].rolestringThe role or position of the advertiser within the company. data[].statusstringThe current status of the advertiser's account. data[].telephone_numberstringThe telephone number of the advertiser. data[].timezonestringThe timezone setting for the advertiser's activities.
Campaigns
Campaigns List
Get campaigns for an advertiser
Python SDK
await tiktok_marketing . campaigns . list ( advertiser_id = "<str>" )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "campaigns", "action": "list", "params": { "advertiser_id": "<str>" } }'
Parameters
Parameter Name Type Required Description advertiser_idstringYes Advertiser ID pageintegerNo Page number page_sizeintegerNo Number of items per page
Response Schema Records Field Name Type Description campaign_idstringcampaign_namestringcampaign_typestringadvertiser_idstringbudgetnumberbudget_modestringsecondary_statusstringoperation_statusnull | stringobjectivenull | stringobjective_typenull | stringbudget_optimize_onnull | booleanbid_typenull | stringdeep_bid_typenull | stringoptimization_goalnull | stringsplit_test_variablenull | stringis_new_structurebooleancreate_timestringmodify_timestringroas_bidnull | numberis_smart_performance_campaignnull | booleanis_search_campaignnull | booleanapp_promotion_typenull | stringrf_campaign_typenull | stringdisable_skan_campaignnull | booleanis_advanced_dedicated_campaignnull | booleanrta_idnull | stringcampaign_automation_typenull | stringrta_bid_enablednull | booleanrta_product_selection_enablednull | boolean
Field Name Type Description page_infoobject
Campaigns Search
Search and filter campaigns records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
Python SDK
await tiktok_marketing . campaigns . search ( query = { "filter" : { "eq" : { "advertiser_id" : 0 } } } )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "campaigns", "action": "search", "params": { "query": {"filter": {"eq": {"advertiser_id": 0}}} } }'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description advertiser_idintegerThe unique identifier of the advertiser associated with the campaign app_promotion_typestringType of app promotion being used in the campaign bid_typestringType of bid strategy being used in the campaign budgetnumberTotal budget allocated for the campaign budget_modestringMode in which the budget is being managed (e.g., daily, lifetime) budget_optimize_onbooleanThe metric or event that the budget optimization is based on campaign_idintegerThe unique identifier of the campaign campaign_namestringName of the campaign for easy identification campaign_typestringType of campaign (e.g., awareness, conversion) create_timestringTimestamp when the campaign was created deep_bid_typestringAdvanced bid type used for campaign optimization is_new_structurebooleanFlag indicating if the campaign utilizes a new campaign structure is_search_campaignbooleanFlag indicating if the campaign is a search campaign is_smart_performance_campaignbooleanFlag indicating if the campaign uses smart performance optimization modify_timestringTimestamp when the campaign was last modified objectivestringThe objective or goal of the campaign objective_typestringType of objective selected for the campaign operation_statusstringCurrent operational status of the campaign optimization_goalstringSpecific goal to be optimized for in the campaign rf_campaign_typestringType of RF (reach and frequency) campaign being run roas_bidnumberReturn on ad spend goal set for the campaign secondary_statusstringAdditional status information of the campaign split_test_variablestringVariable being tested in a split test campaign
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].advertiser_idintegerThe unique identifier of the advertiser associated with the campaign data[].app_promotion_typestringType of app promotion being used in the campaign data[].bid_typestringType of bid strategy being used in the campaign data[].budgetnumberTotal budget allocated for the campaign data[].budget_modestringMode in which the budget is being managed (e.g., daily, lifetime) data[].budget_optimize_onbooleanThe metric or event that the budget optimization is based on data[].campaign_idintegerThe unique identifier of the campaign data[].campaign_namestringName of the campaign for easy identification data[].campaign_typestringType of campaign (e.g., awareness, conversion) data[].create_timestringTimestamp when the campaign was created data[].deep_bid_typestringAdvanced bid type used for campaign optimization data[].is_new_structurebooleanFlag indicating if the campaign utilizes a new campaign structure data[].is_search_campaignbooleanFlag indicating if the campaign is a search campaign data[].is_smart_performance_campaignbooleanFlag indicating if the campaign uses smart performance optimization data[].modify_timestringTimestamp when the campaign was last modified data[].objectivestringThe objective or goal of the campaign data[].objective_typestringType of objective selected for the campaign data[].operation_statusstringCurrent operational status of the campaign data[].optimization_goalstringSpecific goal to be optimized for in the campaign data[].rf_campaign_typestringType of RF (reach and frequency) campaign being run data[].roas_bidnumberReturn on ad spend goal set for the campaign data[].secondary_statusstringAdditional status information of the campaign data[].split_test_variablestringVariable being tested in a split test campaign
Ad Groups
Ad Groups List
Get ad groups for an advertiser
Python SDK
await tiktok_marketing . ad_groups . list ( advertiser_id = "<str>" )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "ad_groups", "action": "list", "params": { "advertiser_id": "<str>" } }'
Parameters
Parameter Name Type Required Description advertiser_idstringYes Advertiser ID pageintegerNo Page number page_sizeintegerNo Number of items per page
Response Schema Records Field Name Type Description adgroup_idstringcampaign_idstringadvertiser_idstringadgroup_namestringplacement_typestringplacementsnull | arraybudgetnumberbudget_modestringsecondary_statusstringoperation_statusstringoptimization_goalstringbid_typenull | stringbid_pricenumberpromotion_typestringcreative_material_modestringschedule_typestringschedule_start_timestringschedule_end_timestringcreate_timestringmodify_timestringgendernull | stringage_groupsnull | arraylanguagesnull | arraylocation_idsnull | arrayaudience_idsnull | arrayexcluded_audience_idsnull | arrayinterest_category_idsnull | arrayinterest_keyword_idsnull | arraypixel_idnull | stringdeep_bid_typenull | stringdeep_cpa_bidnumberconversion_bid_pricenumberbilling_eventnull | stringpacingnull | stringdaypartingnull | stringfrequencynull | integerfrequency_schedulenull | integeris_new_structurebooleanis_smart_performance_campaignnull | booleanapp_idnull | stringapp_typenull | stringapp_download_urlnull | stringoptimization_eventnull | stringsecondary_optimization_eventnull | stringconversion_windownull | stringcomment_disablednull | booleanvideo_download_disablednull | booleanshare_disablednull | booleanauto_targeting_enablednull | booleanis_hfssnull | booleansearch_result_enablednull | booleaninventory_filter_enablednull | booleanskip_learning_phasenull | booleanbrand_safety_typenull | stringbrand_safety_partnernull | stringcampaign_namenull | stringcampaign_automation_typenull | stringbid_display_modenull | stringscheduled_budgetnull | numbercategory_idnull | stringfeed_typenull | stringdelivery_modenull | stringios14_quota_typenull | stringspending_powernull | stringnext_day_retentionnull | numberrf_purchased_typenull | stringrf_estimated_cprnull | numberrf_estimated_frequencynull | numberpurchased_impressionnull | numberpurchased_reachnull | numberactionsnull | arraynetwork_typesnull | arrayoperating_systemsnull | arraydevice_model_idsnull | arraydevice_price_rangesnull | arrayincluded_custom_actionsnull | arrayexcluded_custom_actionsnull | arraycategory_exclusion_idsnull | arraycontextual_tag_idsnull | arrayzipcode_idsnull | arrayhousehold_incomenull | arrayisp_idsnull | arrayschedule_infosnull | arraystatistic_typenull | stringkeywordsnull | stringadgroup_app_profile_page_statenull | stringautomated_keywords_enablednull | booleansmart_audience_enablednull | booleansmart_interest_behavior_enablednull | booleanvbo_windownull | stringdeep_funnel_optimization_statusnull | stringdeep_funnel_event_sourcenull | stringdeep_funnel_event_source_idnull | stringdeep_funnel_optimization_eventnull | stringcustom_conversion_idnull | stringapp_confignull | object
Field Name Type Description page_infoobject
Ad Groups Search
Search and filter ad groups records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
Python SDK
await tiktok_marketing . ad_groups . search ( query = { "filter" : { "eq" : { "adgroup_id" : 0 } } } )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "ad_groups", "action": "search", "params": { "query": {"filter": {"eq": {"adgroup_id": 0}}} } }'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description adgroup_idintegerThe unique identifier of the ad group adgroup_namestringThe name of the ad group advertiser_idintegerThe unique identifier of the advertiser budgetnumberThe allocated budget for the ad group budget_modestringThe mode for managing the budget campaign_idintegerThe unique identifier of the campaign create_timestringThe timestamp for when the ad group was created modify_timestringThe timestamp for when the ad group was last modified operation_statusstringThe status of the operation optimization_goalstringThe goal set for optimization placement_typestringThe type of ad placement promotion_typestringThe type of promotion secondary_statusstringThe secondary status of the ad group
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].adgroup_idintegerThe unique identifier of the ad group data[].adgroup_namestringThe name of the ad group data[].advertiser_idintegerThe unique identifier of the advertiser data[].budgetnumberThe allocated budget for the ad group data[].budget_modestringThe mode for managing the budget data[].campaign_idintegerThe unique identifier of the campaign data[].create_timestringThe timestamp for when the ad group was created data[].modify_timestringThe timestamp for when the ad group was last modified data[].operation_statusstringThe status of the operation data[].optimization_goalstringThe goal set for optimization data[].placement_typestringThe type of ad placement data[].promotion_typestringThe type of promotion data[].secondary_statusstringThe secondary status of the ad group
Ads
Ads List
Get ads for an advertiser
Python SDK
await tiktok_marketing . ads . list ( advertiser_id = "<str>" )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "ads", "action": "list", "params": { "advertiser_id": "<str>" } }'
Parameters
Parameter Name Type Required Description advertiser_idstringYes Advertiser ID pageintegerNo Page number page_sizeintegerNo Number of items per page
Response Schema Records Field Name Type Description ad_idstringadvertiser_idstringcampaign_idstringcampaign_namestringadgroup_idstringadgroup_namestringad_namestringad_textnull | stringad_textsnull | arrayad_formatnull | stringsecondary_statusstringoperation_statusnull | stringcall_to_actionnull | stringcall_to_action_idnull | stringlanding_page_urlnull | stringlanding_page_urlsnull | arraydisplay_namenull | stringprofile_image_urlnull | stringvideo_idnull | stringimage_idsnull | arrayimage_modenull | stringis_aconull | booleanis_new_structurenull | booleancreative_typenull | stringcreative_authorizednull | booleanidentity_idnull | stringidentity_typenull | stringdeeplinknull | stringdeeplink_typenull | stringfallback_typenull | stringtracking_pixel_idnull | integerimpression_tracking_urlnull | stringclick_tracking_urlnull | stringmusic_idnull | stringoptimization_eventnull | stringvast_moat_enablednull | booleanpage_idnull | stringviewability_postbid_partnernull | stringviewability_vast_urlnull | stringbrand_safety_postbid_partnernull | stringbrand_safety_vast_urlnull | stringapp_namenull | stringplayable_urlnull | stringcard_idnull | stringcarousel_image_labelsnull | arrayavatar_icon_web_urinull | stringcampaign_automation_typenull | stringcreate_timestringmodify_timestring
Field Name Type Description page_infoobject
Ads Search
Search and filter ads records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
Python SDK
await tiktok_marketing . ads . search ( query = { "filter" : { "eq" : { "ad_format" : "<str>" } } } )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "ads", "action": "search", "params": { "query": {"filter": {"eq": {"ad_format": "<str>"}}} } }'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description ad_formatstringThe format of the ad ad_idintegerThe unique identifier of the ad ad_namestringThe name of the ad ad_textstringThe text content of the ad adgroup_idintegerThe unique identifier of the ad group adgroup_namestringThe name of the ad group advertiser_idintegerThe unique identifier of the advertiser campaign_idintegerThe unique identifier of the campaign campaign_namestringThe name of the campaign create_timestringThe timestamp when the ad was created landing_page_urlstringThe URL of the landing page for the ad modify_timestringThe timestamp when the ad was last modified operation_statusstringThe operational status of the ad secondary_statusstringThe secondary status of the ad video_idstringThe unique identifier of the video
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].ad_formatstringThe format of the ad data[].ad_idintegerThe unique identifier of the ad data[].ad_namestringThe name of the ad data[].ad_textstringThe text content of the ad data[].adgroup_idintegerThe unique identifier of the ad group data[].adgroup_namestringThe name of the ad group data[].advertiser_idintegerThe unique identifier of the advertiser data[].campaign_idintegerThe unique identifier of the campaign data[].campaign_namestringThe name of the campaign data[].create_timestringThe timestamp when the ad was created data[].landing_page_urlstringThe URL of the landing page for the ad data[].modify_timestringThe timestamp when the ad was last modified data[].operation_statusstringThe operational status of the ad data[].secondary_statusstringThe secondary status of the ad data[].video_idstringThe unique identifier of the video
Audiences
Audiences List
Get custom audiences for an advertiser
Python SDK
await tiktok_marketing . audiences . list ( advertiser_id = "<str>" )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "audiences", "action": "list", "params": { "advertiser_id": "<str>" } }'
Parameters
Parameter Name Type Required Description advertiser_idstringYes Advertiser ID pageintegerNo Page number page_sizeintegerNo Number of items per page
Response Schema Records Field Name Type Description audience_idnull | stringnamenull | stringaudience_typenull | stringcover_numnull | integeris_validnull | booleanis_expiringnull | booleanis_creatornull | booleansharednull | booleancalculate_typenull | stringcreate_timenull | stringexpired_timenull | string
Field Name Type Description page_infoobject
Audiences Search
Search and filter audiences records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
Python SDK
await tiktok_marketing . audiences . search ( query = { "filter" : { "eq" : { "audience_id" : "<str>" } } } )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "audiences", "action": "search", "params": { "query": {"filter": {"eq": {"audience_id": "<str>"}}} } }'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description audience_idstringUnique identifier for the audience audience_typestringType of audience cover_numintegerNumber of audience members covered create_timestringTimestamp indicating when the audience was created is_validbooleanFlag indicating if the audience data is valid namestringName of the audience sharedbooleanFlag indicating if the audience is shared
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].audience_idstringUnique identifier for the audience data[].audience_typestringType of audience data[].cover_numintegerNumber of audience members covered data[].create_timestringTimestamp indicating when the audience was created data[].is_validbooleanFlag indicating if the audience data is valid data[].namestringName of the audience data[].sharedbooleanFlag indicating if the audience is shared
Creative Assets Images
Creative Assets Images List
Search creative asset images for an advertiser
Python SDK
await tiktok_marketing . creative_assets_images . list ( advertiser_id = "<str>" )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "creative_assets_images", "action": "list", "params": { "advertiser_id": "<str>" } }'
Parameters
Parameter Name Type Required Description advertiser_idstringYes Advertiser ID pageintegerNo Page number page_sizeintegerNo Number of items per page
Response Schema Records Field Name Type Description image_idnull | stringformatnull | stringimage_urlnull | stringheightnull | integerwidthnull | integersignaturenull | stringsizenull | integermaterial_idnull | stringis_carousel_usablenull | booleanfile_namenull | stringcreate_timenull | stringmodify_timenull | stringdisplayablenull | boolean
Field Name Type Description page_infoobject
Creative Assets Images Search
Search and filter creative assets images records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
Python SDK
await tiktok_marketing . creative_assets_images . search ( query = { "filter" : { "eq" : { "create_time" : "<str>" } } } )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "creative_assets_images", "action": "search", "params": { "query": {"filter": {"eq": {"create_time": "<str>"}}} } }'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description create_timestringThe timestamp when the image was created. file_namestringThe name of the image file. formatstringThe format type of the image file. heightintegerThe height dimension of the image. image_idstringThe unique identifier for the image. image_urlstringThe URL to access the image. modify_timestringThe timestamp when the image was last modified. sizeintegerThe size of the image file. widthintegerThe width dimension of the image.
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].create_timestringThe timestamp when the image was created. data[].file_namestringThe name of the image file. data[].formatstringThe format type of the image file. data[].heightintegerThe height dimension of the image. data[].image_idstringThe unique identifier for the image. data[].image_urlstringThe URL to access the image. data[].modify_timestringThe timestamp when the image was last modified. data[].sizeintegerThe size of the image file. data[].widthintegerThe width dimension of the image.
Creative Assets Videos
Creative Assets Videos List
Search creative asset videos for an advertiser
Python SDK
await tiktok_marketing . creative_assets_videos . list ( advertiser_id = "<str>" )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "creative_assets_videos", "action": "list", "params": { "advertiser_id": "<str>" } }'
Parameters
Parameter Name Type Required Description advertiser_idstringYes Advertiser ID pageintegerNo Page number page_sizeintegerNo Number of items per page
Response Schema Records Field Name Type Description video_idnull | stringvideo_cover_urlnull | stringformatnull | stringpreview_urlnull | stringpreview_url_expire_timenull | stringdurationnull | numberheightnull | integerwidthnull | integerbit_ratenull | numbersignaturenull | stringsizenull | integermaterial_idnull | stringallowed_placementsnull | arrayallow_downloadnull | booleanfile_namenull | stringcreate_timenull | stringmodify_timenull | stringdisplayablenull | booleanfix_task_idnull | stringflaw_typesnull | array
Field Name Type Description page_infoobject
Creative Assets Videos Search
Search and filter creative assets videos records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
Python SDK
await tiktok_marketing . creative_assets_videos . search ( query = { "filter" : { "eq" : { "create_time" : "<str>" } } } )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "creative_assets_videos", "action": "search", "params": { "query": {"filter": {"eq": {"create_time": "<str>"}}} } }'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description create_timestringTimestamp when the video was created. durationnumberDuration of the video in seconds. file_namestringName of the video file. formatstringFormat of the video file. heightintegerHeight of the video in pixels. modify_timestringTimestamp when the video was last modified. sizeintegerSize of the video file in bytes. video_cover_urlstringURL for the cover image of the video. video_idstringID of the video. widthintegerWidth of the video in pixels.
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].create_timestringTimestamp when the video was created. data[].durationnumberDuration of the video in seconds. data[].file_namestringName of the video file. data[].formatstringFormat of the video file. data[].heightintegerHeight of the video in pixels. data[].modify_timestringTimestamp when the video was last modified. data[].sizeintegerSize of the video file in bytes. data[].video_cover_urlstringURL for the cover image of the video. data[].video_idstringID of the video. data[].widthintegerWidth of the video in pixels.
Advertisers Reports Daily
Advertisers Reports Daily List
Get daily performance reports at the advertiser level
Python SDK
await tiktok_marketing . advertisers_reports_daily . list ( advertiser_id = "<str>" , service_type = "<str>" , report_type = "<str>" , data_level = "<str>" , dimensions = "<str>" , metrics = "<str>" , start_date = "<str>" , end_date = "<str>" )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "advertisers_reports_daily", "action": "list", "params": { "advertiser_id": "<str>", "service_type": "<str>", "report_type": "<str>", "data_level": "<str>", "dimensions": "<str>", "metrics": "<str>", "start_date": "<str>", "end_date": "<str>" } }'
Parameters
Parameter Name Type Required Description advertiser_idstringYes Advertiser ID service_typestringYes Service type report_typestringYes Report type data_levelstringYes Data level for the report dimensionsstringYes Dimensions for the report (JSON array) metricsstringYes Metrics to retrieve (JSON array) start_datestringYes Report start date (YYYY-MM-DD) end_datestringYes Report end date (YYYY-MM-DD) pageintegerNo Page number page_sizeintegerNo Number of items per page
Response Schema Records Field Name Type Description advertiser_idnull | integerstat_time_daynull | stringspendnull | stringcash_spendnull | stringvoucher_spendnull | stringcpcnull | stringcpmnull | stringimpressionsnull | stringclicksnull | stringctrnull | stringreachnull | stringcost_per_1000_reachednull | stringfrequencynull | stringvideo_play_actionsnull | numbervideo_watched_2snull | numbervideo_watched_6snull | numberaverage_video_playnull | numberaverage_video_play_per_usernull | numbervideo_views_p25null | numbervideo_views_p50null | numbervideo_views_p75null | numbervideo_views_p100null | numberprofile_visitsnull | numberlikesnull | numbercommentsnull | numbersharesnull | numberfollowsnull | numberclicks_on_music_discnull | numberreal_time_app_installnull | numberreal_time_app_install_costnull | numberapp_installnull | number
Field Name Type Description page_infoobject
Advertisers Reports Daily Search
Search and filter advertisers reports daily records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
Python SDK
await tiktok_marketing . advertisers_reports_daily . search ( query = { "filter" : { "eq" : { "advertiser_id" : 0 } } } )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "advertisers_reports_daily", "action": "search", "params": { "query": {"filter": {"eq": {"advertiser_id": 0}}} } }'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description advertiser_idintegerThe unique identifier for the advertiser. stat_time_daystringThe date for which the statistical data is recorded (YYYY-MM-DD HH:MM:SS format). spendstringTotal amount of money spent. cash_spendstringThe amount of money spent in cash. voucher_spendstringAmount spent using vouchers. cpcstringCost per click. cpmstringCost per thousand impressions. impressionsstringNumber of times the ad was displayed. clicksstringNumber of clicks on the ad. ctrstringClick-through rate. reachstringTotal number of unique users reached. cost_per_1000_reachedstringCost per 1000 unique users reached. frequencystringAverage number of times each person saw the ad. video_play_actionsnumberNumber of video play actions. video_watched_2snumberNumber of times video was watched for at least 2 seconds. video_watched_6snumberNumber of times video was watched for at least 6 seconds. average_video_playnumberAverage video play duration. average_video_play_per_usernumberAverage video play duration per user. video_views_p25numberNumber of times video was watched to 25%. video_views_p50numberNumber of times video was watched to 50%. video_views_p75numberNumber of times video was watched to 75%. video_views_p100numberNumber of times video was watched to 100%. profile_visitsnumberNumber of profile visits. likesnumberNumber of likes. commentsnumberNumber of comments. sharesnumberNumber of shares. followsnumberNumber of follows. clicks_on_music_discnumberNumber of clicks on the music disc. real_time_app_installnumberReal-time app installations. real_time_app_install_costnumberCost of real-time app installations. app_installnumberNumber of app installations.
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].advertiser_idintegerThe unique identifier for the advertiser. data[].stat_time_daystringThe date for which the statistical data is recorded (YYYY-MM-DD HH:MM:SS format). data[].spendstringTotal amount of money spent. data[].cash_spendstringThe amount of money spent in cash. data[].voucher_spendstringAmount spent using vouchers. data[].cpcstringCost per click. data[].cpmstringCost per thousand impressions. data[].impressionsstringNumber of times the ad was displayed. data[].clicksstringNumber of clicks on the ad. data[].ctrstringClick-through rate. data[].reachstringTotal number of unique users reached. data[].cost_per_1000_reachedstringCost per 1000 unique users reached. data[].frequencystringAverage number of times each person saw the ad. data[].video_play_actionsnumberNumber of video play actions. data[].video_watched_2snumberNumber of times video was watched for at least 2 seconds. data[].video_watched_6snumberNumber of times video was watched for at least 6 seconds. data[].average_video_playnumberAverage video play duration. data[].average_video_play_per_usernumberAverage video play duration per user. data[].video_views_p25numberNumber of times video was watched to 25%. data[].video_views_p50numberNumber of times video was watched to 50%. data[].video_views_p75numberNumber of times video was watched to 75%. data[].video_views_p100numberNumber of times video was watched to 100%. data[].profile_visitsnumberNumber of profile visits. data[].likesnumberNumber of likes. data[].commentsnumberNumber of comments. data[].sharesnumberNumber of shares. data[].followsnumberNumber of follows. data[].clicks_on_music_discnumberNumber of clicks on the music disc. data[].real_time_app_installnumberReal-time app installations. data[].real_time_app_install_costnumberCost of real-time app installations. data[].app_installnumberNumber of app installations.
Campaigns Reports Daily
Campaigns Reports Daily List
Get daily performance reports at the campaign level
Python SDK
await tiktok_marketing . campaigns_reports_daily . list ( advertiser_id = "<str>" , service_type = "<str>" , report_type = "<str>" , data_level = "<str>" , dimensions = "<str>" , metrics = "<str>" , start_date = "<str>" , end_date = "<str>" )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "campaigns_reports_daily", "action": "list", "params": { "advertiser_id": "<str>", "service_type": "<str>", "report_type": "<str>", "data_level": "<str>", "dimensions": "<str>", "metrics": "<str>", "start_date": "<str>", "end_date": "<str>" } }'
Parameters
Parameter Name Type Required Description advertiser_idstringYes Advertiser ID service_typestringYes Service type report_typestringYes Report type data_levelstringYes Data level for the report dimensionsstringYes Dimensions for the report (JSON array) metricsstringYes Metrics to retrieve (JSON array) start_datestringYes Report start date (YYYY-MM-DD) end_datestringYes Report end date (YYYY-MM-DD) pageintegerNo Page number page_sizeintegerNo Number of items per page
Response Schema Records Field Name Type Description campaign_idnull | integerstat_time_daynull | stringcampaign_namenull | stringspendnull | stringcpcnull | stringcpmnull | stringimpressionsnull | stringclicksnull | stringctrnull | stringreachnull | stringcost_per_1000_reachednull | stringfrequencynull | stringvideo_play_actionsnull | numbervideo_watched_2snull | numbervideo_watched_6snull | numberaverage_video_playnull | numberaverage_video_play_per_usernull | numbervideo_views_p25null | numbervideo_views_p50null | numbervideo_views_p75null | numbervideo_views_p100null | numberprofile_visitsnull | numberlikesnull | numbercommentsnull | numbersharesnull | numberfollowsnull | numberclicks_on_music_discnull | numberreal_time_app_installnull | numberreal_time_app_install_costnull | numberapp_installnull | number
Field Name Type Description page_infoobject
Campaigns Reports Daily Search
Search and filter campaigns reports daily records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
Python SDK
await tiktok_marketing . campaigns_reports_daily . search ( query = { "filter" : { "eq" : { "campaign_id" : 0 } } } )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "campaigns_reports_daily", "action": "search", "params": { "query": {"filter": {"eq": {"campaign_id": 0}}} } }'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description campaign_idintegerThe unique identifier for the campaign. stat_time_daystringThe date for which the statistical data is recorded (YYYY-MM-DD HH:MM:SS format). campaign_namestringThe name of the marketing campaign. spendstringTotal amount of money spent. cpcstringCost per click. cpmstringCost per thousand impressions. impressionsstringNumber of times the ad was displayed. clicksstringNumber of clicks on the ad. ctrstringClick-through rate. reachstringTotal number of unique users reached. cost_per_1000_reachedstringCost per 1000 unique users reached. frequencystringAverage number of times each person saw the ad. video_play_actionsnumberNumber of video play actions. video_watched_2snumberNumber of times video was watched for at least 2 seconds. video_watched_6snumberNumber of times video was watched for at least 6 seconds. average_video_playnumberAverage video play duration. average_video_play_per_usernumberAverage video play duration per user. video_views_p25numberNumber of times video was watched to 25%. video_views_p50numberNumber of times video was watched to 50%. video_views_p75numberNumber of times video was watched to 75%. video_views_p100numberNumber of times video was watched to 100%. profile_visitsnumberNumber of profile visits. likesnumberNumber of likes. commentsnumberNumber of comments. sharesnumberNumber of shares. followsnumberNumber of follows. clicks_on_music_discnumberNumber of clicks on the music disc. real_time_app_installnumberReal-time app installations. real_time_app_install_costnumberCost of real-time app installations. app_installnumberNumber of app installations.
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].campaign_idintegerThe unique identifier for the campaign. data[].stat_time_daystringThe date for which the statistical data is recorded (YYYY-MM-DD HH:MM:SS format). data[].campaign_namestringThe name of the marketing campaign. data[].spendstringTotal amount of money spent. data[].cpcstringCost per click. data[].cpmstringCost per thousand impressions. data[].impressionsstringNumber of times the ad was displayed. data[].clicksstringNumber of clicks on the ad. data[].ctrstringClick-through rate. data[].reachstringTotal number of unique users reached. data[].cost_per_1000_reachedstringCost per 1000 unique users reached. data[].frequencystringAverage number of times each person saw the ad. data[].video_play_actionsnumberNumber of video play actions. data[].video_watched_2snumberNumber of times video was watched for at least 2 seconds. data[].video_watched_6snumberNumber of times video was watched for at least 6 seconds. data[].average_video_playnumberAverage video play duration. data[].average_video_play_per_usernumberAverage video play duration per user. data[].video_views_p25numberNumber of times video was watched to 25%. data[].video_views_p50numberNumber of times video was watched to 50%. data[].video_views_p75numberNumber of times video was watched to 75%. data[].video_views_p100numberNumber of times video was watched to 100%. data[].profile_visitsnumberNumber of profile visits. data[].likesnumberNumber of likes. data[].commentsnumberNumber of comments. data[].sharesnumberNumber of shares. data[].followsnumberNumber of follows. data[].clicks_on_music_discnumberNumber of clicks on the music disc. data[].real_time_app_installnumberReal-time app installations. data[].real_time_app_install_costnumberCost of real-time app installations. data[].app_installnumberNumber of app installations.
Ad Groups Reports Daily
Ad Groups Reports Daily List
Get daily performance reports at the ad group level
Python SDK
await tiktok_marketing . ad_groups_reports_daily . list ( advertiser_id = "<str>" , service_type = "<str>" , report_type = "<str>" , data_level = "<str>" , dimensions = "<str>" , metrics = "<str>" , start_date = "<str>" , end_date = "<str>" )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "ad_groups_reports_daily", "action": "list", "params": { "advertiser_id": "<str>", "service_type": "<str>", "report_type": "<str>", "data_level": "<str>", "dimensions": "<str>", "metrics": "<str>", "start_date": "<str>", "end_date": "<str>" } }'
Parameters
Parameter Name Type Required Description advertiser_idstringYes Advertiser ID service_typestringYes Service type report_typestringYes Report type data_levelstringYes Data level for the report dimensionsstringYes Dimensions for the report (JSON array) metricsstringYes Metrics to retrieve (JSON array) start_datestringYes Report start date (YYYY-MM-DD) end_datestringYes Report end date (YYYY-MM-DD) pageintegerNo Page number page_sizeintegerNo Number of items per page
Response Schema Records Field Name Type Description adgroup_idnull | integerstat_time_daynull | stringcampaign_namenull | stringcampaign_idnull | integeradgroup_namenull | stringplacement_typenull | stringspendnull | stringcpcnull | stringcpmnull | stringimpressionsnull | stringclicksnull | stringctrnull | stringreachnull | stringcost_per_1000_reachednull | stringconversionnull | stringcost_per_conversionnull | stringconversion_ratenull | stringreal_time_conversionnull | stringreal_time_cost_per_conversionnull | stringreal_time_conversion_ratenull | stringresultnull | stringcost_per_resultnull | stringresult_ratenull | stringreal_time_resultnull | stringreal_time_cost_per_resultnull | stringreal_time_result_ratenull | stringsecondary_goal_resultnull | stringcost_per_secondary_goal_resultnull | stringsecondary_goal_result_ratenull | stringfrequencynull | stringvideo_play_actionsnull | numbervideo_watched_2snull | numbervideo_watched_6snull | numberaverage_video_playnull | numberaverage_video_play_per_usernull | numbervideo_views_p25null | numbervideo_views_p50null | numbervideo_views_p75null | numbervideo_views_p100null | numberprofile_visitsnull | numberlikesnull | numbercommentsnull | numbersharesnull | numberfollowsnull | numberclicks_on_music_discnull | numberreal_time_app_installnull | numberreal_time_app_install_costnull | numberapp_installnull | number
Field Name Type Description page_infoobject
Ad Groups Reports Daily Search
Search and filter ad groups reports daily records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
Python SDK
await tiktok_marketing . ad_groups_reports_daily . search ( query = { "filter" : { "eq" : { "adgroup_id" : 0 } } } )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "ad_groups_reports_daily", "action": "search", "params": { "query": {"filter": {"eq": {"adgroup_id": 0}}} } }'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description adgroup_idintegerThe unique identifier for the ad group. stat_time_daystringThe date for which the statistical data is recorded (YYYY-MM-DD HH:MM:SS format). campaign_namestringThe name of the marketing campaign. campaign_idintegerThe unique identifier for the campaign. adgroup_namestringThe name of the ad group. placement_typestringType of ad placement. spendstringTotal amount of money spent. cpcstringCost per click. cpmstringCost per thousand impressions. impressionsstringNumber of times the ad was displayed. clicksstringNumber of clicks on the ad. ctrstringClick-through rate. reachstringTotal number of unique users reached. cost_per_1000_reachedstringCost per 1000 unique users reached. conversionstringNumber of conversions. cost_per_conversionstringCost per conversion. conversion_ratestringRate of conversions. real_time_conversionstringReal-time conversions. real_time_cost_per_conversionstringReal-time cost per conversion. real_time_conversion_ratestringReal-time conversion rate. resultstringNumber of results. cost_per_resultstringCost per result. result_ratestringRate of results. real_time_resultstringReal-time results. real_time_cost_per_resultstringReal-time cost per result. real_time_result_ratestringReal-time result rate. secondary_goal_resultstringResults for secondary goals. cost_per_secondary_goal_resultstringCost per secondary goal result. secondary_goal_result_ratestringRate of secondary goal results. frequencystringAverage number of times each person saw the ad. video_play_actionsnumberNumber of video play actions. video_watched_2snumberNumber of times video was watched for at least 2 seconds. video_watched_6snumberNumber of times video was watched for at least 6 seconds. average_video_playnumberAverage video play duration. average_video_play_per_usernumberAverage video play duration per user. video_views_p25numberNumber of times video was watched to 25%. video_views_p50numberNumber of times video was watched to 50%. video_views_p75numberNumber of times video was watched to 75%. video_views_p100numberNumber of times video was watched to 100%. profile_visitsnumberNumber of profile visits. likesnumberNumber of likes. commentsnumberNumber of comments. sharesnumberNumber of shares. followsnumberNumber of follows. clicks_on_music_discnumberNumber of clicks on the music disc. real_time_app_installnumberReal-time app installations. real_time_app_install_costnumberCost of real-time app installations. app_installnumberNumber of app installations.
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].adgroup_idintegerThe unique identifier for the ad group. data[].stat_time_daystringThe date for which the statistical data is recorded (YYYY-MM-DD HH:MM:SS format). data[].campaign_namestringThe name of the marketing campaign. data[].campaign_idintegerThe unique identifier for the campaign. data[].adgroup_namestringThe name of the ad group. data[].placement_typestringType of ad placement. data[].spendstringTotal amount of money spent. data[].cpcstringCost per click. data[].cpmstringCost per thousand impressions. data[].impressionsstringNumber of times the ad was displayed. data[].clicksstringNumber of clicks on the ad. data[].ctrstringClick-through rate. data[].reachstringTotal number of unique users reached. data[].cost_per_1000_reachedstringCost per 1000 unique users reached. data[].conversionstringNumber of conversions. data[].cost_per_conversionstringCost per conversion. data[].conversion_ratestringRate of conversions. data[].real_time_conversionstringReal-time conversions. data[].real_time_cost_per_conversionstringReal-time cost per conversion. data[].real_time_conversion_ratestringReal-time conversion rate. data[].resultstringNumber of results. data[].cost_per_resultstringCost per result. data[].result_ratestringRate of results. data[].real_time_resultstringReal-time results. data[].real_time_cost_per_resultstringReal-time cost per result. data[].real_time_result_ratestringReal-time result rate. data[].secondary_goal_resultstringResults for secondary goals. data[].cost_per_secondary_goal_resultstringCost per secondary goal result. data[].secondary_goal_result_ratestringRate of secondary goal results. data[].frequencystringAverage number of times each person saw the ad. data[].video_play_actionsnumberNumber of video play actions. data[].video_watched_2snumberNumber of times video was watched for at least 2 seconds. data[].video_watched_6snumberNumber of times video was watched for at least 6 seconds. data[].average_video_playnumberAverage video play duration. data[].average_video_play_per_usernumberAverage video play duration per user. data[].video_views_p25numberNumber of times video was watched to 25%. data[].video_views_p50numberNumber of times video was watched to 50%. data[].video_views_p75numberNumber of times video was watched to 75%. data[].video_views_p100numberNumber of times video was watched to 100%. data[].profile_visitsnumberNumber of profile visits. data[].likesnumberNumber of likes. data[].commentsnumberNumber of comments. data[].sharesnumberNumber of shares. data[].followsnumberNumber of follows. data[].clicks_on_music_discnumberNumber of clicks on the music disc. data[].real_time_app_installnumberReal-time app installations. data[].real_time_app_install_costnumberCost of real-time app installations. data[].app_installnumberNumber of app installations.
Ads Reports Daily
Ads Reports Daily List
Get daily performance reports at the ad level
Python SDK
await tiktok_marketing . ads_reports_daily . list ( advertiser_id = "<str>" , service_type = "<str>" , report_type = "<str>" , data_level = "<str>" , dimensions = "<str>" , metrics = "<str>" , start_date = "<str>" , end_date = "<str>" )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "ads_reports_daily", "action": "list", "params": { "advertiser_id": "<str>", "service_type": "<str>", "report_type": "<str>", "data_level": "<str>", "dimensions": "<str>", "metrics": "<str>", "start_date": "<str>", "end_date": "<str>" } }'
Parameters
Parameter Name Type Required Description advertiser_idstringYes Advertiser ID service_typestringYes Service type report_typestringYes Report type data_levelstringYes Data level for the report dimensionsstringYes Dimensions for the report (JSON array) metricsstringYes Metrics to retrieve (JSON array) start_datestringYes Report start date (YYYY-MM-DD) end_datestringYes Report end date (YYYY-MM-DD) pageintegerNo Page number page_sizeintegerNo Number of items per page
Response Schema Records Field Name Type Description ad_idnull | integerstat_time_daynull | stringcampaign_namenull | stringcampaign_idnull | integeradgroup_namenull | stringadgroup_idnull | integerad_namenull | stringad_textnull | stringplacement_typenull | stringspendnull | stringcpcnull | stringcpmnull | stringimpressionsnull | stringclicksnull | stringctrnull | stringreachnull | stringcost_per_1000_reachednull | stringconversionnull | stringcost_per_conversionnull | stringconversion_ratenull | stringreal_time_conversionnull | stringreal_time_cost_per_conversionnull | stringreal_time_conversion_ratenull | stringresultnull | stringcost_per_resultnull | stringresult_ratenull | stringreal_time_resultnull | stringreal_time_cost_per_resultnull | stringreal_time_result_ratenull | stringsecondary_goal_resultnull | stringcost_per_secondary_goal_resultnull | stringsecondary_goal_result_ratenull | stringfrequencynull | stringvideo_play_actionsnull | numbervideo_watched_2snull | numbervideo_watched_6snull | numberaverage_video_playnull | numberaverage_video_play_per_usernull | numbervideo_views_p25null | numbervideo_views_p50null | numbervideo_views_p75null | numbervideo_views_p100null | numberprofile_visitsnull | numberlikesnull | numbercommentsnull | numbersharesnull | numberfollowsnull | numberclicks_on_music_discnull | numberreal_time_app_installnull | numberreal_time_app_install_costnull | numberapp_installnull | number
Field Name Type Description page_infoobject
Ads Reports Daily Search
Search and filter ads reports daily records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
Python SDK
await tiktok_marketing . ads_reports_daily . search ( query = { "filter" : { "eq" : { "ad_id" : 0 } } } )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "ads_reports_daily", "action": "search", "params": { "query": {"filter": {"eq": {"ad_id": 0}}} } }'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description ad_idintegerThe unique identifier for the ad. stat_time_daystringThe date for which the statistical data is recorded (YYYY-MM-DD HH:MM:SS format). campaign_namestringThe name of the marketing campaign. campaign_idintegerThe unique identifier for the campaign. adgroup_namestringThe name of the ad group. adgroup_idintegerThe unique identifier for the ad group. ad_namestringThe name of the ad. ad_textstringThe text content of the ad. placement_typestringType of ad placement. spendstringTotal amount of money spent. cpcstringCost per click. cpmstringCost per thousand impressions. impressionsstringNumber of times the ad was displayed. clicksstringNumber of clicks on the ad. ctrstringClick-through rate. reachstringTotal number of unique users reached. cost_per_1000_reachedstringCost per 1000 unique users reached. conversionstringNumber of conversions. cost_per_conversionstringCost per conversion. conversion_ratestringRate of conversions. real_time_conversionstringReal-time conversions. real_time_cost_per_conversionstringReal-time cost per conversion. real_time_conversion_ratestringReal-time conversion rate. resultstringNumber of results. cost_per_resultstringCost per result. result_ratestringRate of results. real_time_resultstringReal-time results. real_time_cost_per_resultstringReal-time cost per result. real_time_result_ratestringReal-time result rate. secondary_goal_resultstringResults for secondary goals. cost_per_secondary_goal_resultstringCost per secondary goal result. secondary_goal_result_ratestringRate of secondary goal results. frequencystringAverage number of times each person saw the ad. video_play_actionsnumberNumber of video play actions. video_watched_2snumberNumber of times video was watched for at least 2 seconds. video_watched_6snumberNumber of times video was watched for at least 6 seconds. average_video_playnumberAverage video play duration. average_video_play_per_usernumberAverage video play duration per user. video_views_p25numberNumber of times video was watched to 25%. video_views_p50numberNumber of times video was watched to 50%. video_views_p75numberNumber of times video was watched to 75%. video_views_p100numberNumber of times video was watched to 100%. profile_visitsnumberNumber of profile visits. likesnumberNumber of likes. commentsnumberNumber of comments. sharesnumberNumber of shares. followsnumberNumber of follows. clicks_on_music_discnumberNumber of clicks on the music disc. real_time_app_installnumberReal-time app installations. real_time_app_install_costnumberCost of real-time app installations. app_installnumberNumber of app installations.
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].ad_idintegerThe unique identifier for the ad. data[].stat_time_daystringThe date for which the statistical data is recorded (YYYY-MM-DD HH:MM:SS format). data[].campaign_namestringThe name of the marketing campaign. data[].campaign_idintegerThe unique identifier for the campaign. data[].adgroup_namestringThe name of the ad group. data[].adgroup_idintegerThe unique identifier for the ad group. data[].ad_namestringThe name of the ad. data[].ad_textstringThe text content of the ad. data[].placement_typestringType of ad placement. data[].spendstringTotal amount of money spent. data[].cpcstringCost per click. data[].cpmstringCost per thousand impressions. data[].impressionsstringNumber of times the ad was displayed. data[].clicksstringNumber of clicks on the ad. data[].ctrstringClick-through rate. data[].reachstringTotal number of unique users reached. data[].cost_per_1000_reachedstringCost per 1000 unique users reached. data[].conversionstringNumber of conversions. data[].cost_per_conversionstringCost per conversion. data[].conversion_ratestringRate of conversions. data[].real_time_conversionstringReal-time conversions. data[].real_time_cost_per_conversionstringReal-time cost per conversion. data[].real_time_conversion_ratestringReal-time conversion rate. data[].resultstringNumber of results. data[].cost_per_resultstringCost per result. data[].result_ratestringRate of results. data[].real_time_resultstringReal-time results. data[].real_time_cost_per_resultstringReal-time cost per result. data[].real_time_result_ratestringReal-time result rate. data[].secondary_goal_resultstringResults for secondary goals. data[].cost_per_secondary_goal_resultstringCost per secondary goal result. data[].secondary_goal_result_ratestringRate of secondary goal results. data[].frequencystringAverage number of times each person saw the ad. data[].video_play_actionsnumberNumber of video play actions. data[].video_watched_2snumberNumber of times video was watched for at least 2 seconds. data[].video_watched_6snumberNumber of times video was watched for at least 6 seconds. data[].average_video_playnumberAverage video play duration. data[].average_video_play_per_usernumberAverage video play duration per user. data[].video_views_p25numberNumber of times video was watched to 25%. data[].video_views_p50numberNumber of times video was watched to 50%. data[].video_views_p75numberNumber of times video was watched to 75%. data[].video_views_p100numberNumber of times video was watched to 100%. data[].profile_visitsnumberNumber of profile visits. data[].likesnumberNumber of likes. data[].commentsnumberNumber of comments. data[].sharesnumberNumber of shares. data[].followsnumberNumber of follows. data[].clicks_on_music_discnumberNumber of clicks on the music disc. data[].real_time_app_installnumberReal-time app installations. data[].real_time_app_install_costnumberCost of real-time app installations. data[].app_installnumberNumber of app installations.