This connector is optimized for AI agents. For the data replication connector, see Google Ads .
This is the full reference documentation for the Google-Ads agent connector.
Supported entities and actions
The Google-Ads connector supports the following entities and actions.
Entity Actions Accessible Customers List Accounts List , Search Campaigns List , Update , Search Ad Groups List , Update , Search Ad Group Ads List , Search Campaign Labels List , Create , Search Ad Group Labels List , Create , Search Ad Group Ad Labels List , Search Labels Create
Accessible Customers
Accessible Customers List
Returns resource names of customers directly accessible by the user authenticating the call. No customer_id is required for this endpoint.
Python SDK
await google_ads . accessible_customers . list ( )
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": "accessible_customers", "action": "list" }'
Response Schema Records Field Name Type Description resourceNamesarray<object>
Accounts
Accounts List
Retrieves customer account details using GAQL query.
Python SDK
await google_ads . accounts . list ( customer_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": "accounts", "action": "list", "params": { "customer_id": "<str>" } }'
Parameters
Parameter Name Type Required Description querystringNo Google Ads Query Language (GAQL) query pageTokenstringNo Token for pagination pageSizeintegerNo Number of results per page (max 10000) customer_idstringYes Google Ads customer ID (10 digits, no dashes)
Response Schema Records Field Name Type Description customerobject
Field Name Type Description next_page_tokenstring
Accounts Search
Search and filter accounts 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 google_ads . accounts . search ( query = { "filter" : { "eq" : { "customer.auto_tagging_enabled" : True } } } )
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": "accounts", "action": "search", "params": { "query": {"filter": {"eq": {"customer.auto_tagging_enabled": True}}} } }'
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 customer.auto_tagging_enabledbooleanWhether auto-tagging is enabled for the account customer.call_reporting_setting.call_conversion_actionstringCall conversion action resource name customer.call_reporting_setting.call_conversion_reporting_enabledbooleanWhether call conversion reporting is enabled customer.call_reporting_setting.call_reporting_enabledbooleanWhether call reporting is enabled customer.conversion_tracking_setting.conversion_tracking_idintegerConversion tracking ID customer.conversion_tracking_setting.cross_account_conversion_tracking_idintegerCross-account conversion tracking ID customer.currency_codestringCurrency code for the account (e.g., USD) customer.descriptive_namestringDescriptive name of the customer account customer.final_url_suffixstringURL suffix appended to final URLs customer.has_partners_badgebooleanWhether the account has a Google Partners badge customer.idintegerUnique customer account ID customer.managerbooleanWhether this is a manager (MCC) account customer.optimization_scorenumberOptimization score for the account (0.0 to 1.0) customer.optimization_score_weightnumberWeight of the optimization score customer.pay_per_conversion_eligibility_failure_reasonsarrayReasons why pay-per-conversion is not eligible customer.remarketing_setting.google_global_site_tagstringGoogle global site tag snippet customer.resource_namestringResource name of the customer customer.test_accountbooleanWhether this is a test account customer.time_zonestringTime zone of the account customer.tracking_url_templatestringTracking URL template for the account segments.datestringDate segment for the report row
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[].customer.auto_tagging_enabledbooleanWhether auto-tagging is enabled for the account data[].customer.call_reporting_setting.call_conversion_actionstringCall conversion action resource name data[].customer.call_reporting_setting.call_conversion_reporting_enabledbooleanWhether call conversion reporting is enabled data[].customer.call_reporting_setting.call_reporting_enabledbooleanWhether call reporting is enabled data[].customer.conversion_tracking_setting.conversion_tracking_idintegerConversion tracking ID data[].customer.conversion_tracking_setting.cross_account_conversion_tracking_idintegerCross-account conversion tracking ID data[].customer.currency_codestringCurrency code for the account (e.g., USD) data[].customer.descriptive_namestringDescriptive name of the customer account data[].customer.final_url_suffixstringURL suffix appended to final URLs data[].customer.has_partners_badgebooleanWhether the account has a Google Partners badge data[].customer.idintegerUnique customer account ID data[].customer.managerbooleanWhether this is a manager (MCC) account data[].customer.optimization_scorenumberOptimization score for the account (0.0 to 1.0) data[].customer.optimization_score_weightnumberWeight of the optimization score data[].customer.pay_per_conversion_eligibility_failure_reasonsarrayReasons why pay-per-conversion is not eligible data[].customer.remarketing_setting.google_global_site_tagstringGoogle global site tag snippet data[].customer.resource_namestringResource name of the customer data[].customer.test_accountbooleanWhether this is a test account data[].customer.time_zonestringTime zone of the account data[].customer.tracking_url_templatestringTracking URL template for the account data[].segments.datestringDate segment for the report row
Campaigns
Campaigns List
Retrieves campaign data using GAQL query.
Python SDK
await google_ads . campaigns . list ( customer_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": { "customer_id": "<str>" } }'
Parameters
Parameter Name Type Required Description querystringNo GAQL query for campaigns pageTokenstringNo Token for pagination pageSizeintegerNo Number of results per page (max 10000) customer_idstringYes Google Ads customer ID (10 digits, no dashes)
Response Schema Records Field Name Type Description campaignobjectcampaignBudgetobjectmetricsobjectsegmentsobject
Field Name Type Description next_page_tokenstring
Campaigns Update
Updates campaign properties such as status (enable/pause), name, or other mutable fields using the Google Ads CampaignService mutate endpoint.
Python SDK
await google_ads . campaigns . update ( operations = [ ] , customer_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": "update", "params": { "operations": [], "customer_id": "<str>" } }'
Parameters
Parameter Name Type Required Description operationsarray<object>Yes List of campaign operations to perform operations.updateMaskstringNo Comma-separated list of field paths to update (e.g., name,status) operations.updateobjectNo Campaign fields to update operations.update.resourceNamestringYes Resource name of the campaign to update (e.g., customers/1234567890/campaigns/111222333) operations.update.namestringNo New campaign name operations.update.status"ENABLED" | "PAUSED"No Campaign status (ENABLED or PAUSED) customer_idstringYes Google Ads customer ID (10 digits, no dashes)
Response Schema Records Field Name Type Description resultsarray<object>
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 google_ads . campaigns . 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", "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.idintegerCampaign ID campaign.namestringCampaign name campaign.statusstringCampaign status (ENABLED, PAUSED, REMOVED) campaign.advertising_channel_typestringAdvertising channel type (SEARCH, DISPLAY, etc.) campaign.advertising_channel_sub_typestringAdvertising channel sub-type campaign.bidding_strategystringBidding strategy resource name campaign.bidding_strategy_typestringBidding strategy type campaign.campaign_budgetstringCampaign budget resource name campaign_budget.amount_microsintegerCampaign budget amount in micros campaign.start_datestringCampaign start date campaign.end_datestringCampaign end date campaign.serving_statusstringCampaign serving status campaign.resource_namestringResource name of the campaign campaign.labelsarrayLabels applied to the campaign campaign.network_settings.target_google_searchbooleanWhether targeting Google Search campaign.network_settings.target_search_networkbooleanWhether targeting search network campaign.network_settings.target_content_networkbooleanWhether targeting content network campaign.network_settings.target_partner_search_networkbooleanWhether targeting partner search network metrics.clicksintegerNumber of clicks metrics.ctrnumberClick-through rate metrics.conversionsnumberNumber of conversions metrics.conversions_valuenumberTotal conversions value metrics.cost_microsintegerCost in micros metrics.impressionsintegerNumber of impressions metrics.average_cpcnumberAverage cost per click metrics.average_cpmnumberAverage cost per thousand impressions metrics.interactionsintegerNumber of interactions segments.datestringDate segment for the report row segments.hourintegerHour segment segments.ad_network_typestringAd network type segment
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.idintegerCampaign ID data[].campaign.namestringCampaign name data[].campaign.statusstringCampaign status (ENABLED, PAUSED, REMOVED) data[].campaign.advertising_channel_typestringAdvertising channel type (SEARCH, DISPLAY, etc.) data[].campaign.advertising_channel_sub_typestringAdvertising channel sub-type data[].campaign.bidding_strategystringBidding strategy resource name data[].campaign.bidding_strategy_typestringBidding strategy type data[].campaign.campaign_budgetstringCampaign budget resource name data[].campaign_budget.amount_microsintegerCampaign budget amount in micros data[].campaign.start_datestringCampaign start date data[].campaign.end_datestringCampaign end date data[].campaign.serving_statusstringCampaign serving status data[].campaign.resource_namestringResource name of the campaign data[].campaign.labelsarrayLabels applied to the campaign data[].campaign.network_settings.target_google_searchbooleanWhether targeting Google Search data[].campaign.network_settings.target_search_networkbooleanWhether targeting search network data[].campaign.network_settings.target_content_networkbooleanWhether targeting content network data[].campaign.network_settings.target_partner_search_networkbooleanWhether targeting partner search network data[].metrics.clicksintegerNumber of clicks data[].metrics.ctrnumberClick-through rate data[].metrics.conversionsnumberNumber of conversions data[].metrics.conversions_valuenumberTotal conversions value data[].metrics.cost_microsintegerCost in micros data[].metrics.impressionsintegerNumber of impressions data[].metrics.average_cpcnumberAverage cost per click data[].metrics.average_cpmnumberAverage cost per thousand impressions data[].metrics.interactionsintegerNumber of interactions data[].segments.datestringDate segment for the report row data[].segments.hourintegerHour segment data[].segments.ad_network_typestringAd network type segment
Ad Groups
Ad Groups List
Retrieves ad group data using GAQL query.
Python SDK
await google_ads . ad_groups . list ( customer_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": { "customer_id": "<str>" } }'
Parameters
Parameter Name Type Required Description querystringNo GAQL query for ad groups pageTokenstringNo Token for pagination pageSizeintegerNo Number of results per page (max 10000) customer_idstringYes Google Ads customer ID (10 digits, no dashes)
Response Schema Records Field Name Type Description campaignobjectadGroupobjectmetricsobjectsegmentsobject
Field Name Type Description next_page_tokenstring
Ad Groups Update
Updates ad group properties such as status (enable/pause), name, or bid amounts using the Google Ads AdGroupService mutate endpoint.
Python SDK
await google_ads . ad_groups . update ( operations = [ ] , customer_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": "update", "params": { "operations": [], "customer_id": "<str>" } }'
Parameters
Parameter Name Type Required Description operationsarray<object>Yes List of ad group operations to perform operations.updateMaskstringNo Comma-separated list of field paths to update (e.g., name,status,cpcBidMicros) operations.updateobjectNo Ad group fields to update operations.update.resourceNamestringYes Resource name of the ad group to update (e.g., customers/1234567890/adGroups/111222333) operations.update.namestringNo New ad group name operations.update.status"ENABLED" | "PAUSED"No Ad group status (ENABLED or PAUSED) operations.update.cpcBidMicrosstringNo CPC bid amount in micros (1,000,000 micros = 1 currency unit) customer_idstringYes Google Ads customer ID (10 digits, no dashes)
Response Schema Records Field Name Type Description resultsarray<object>
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 google_ads . ad_groups . 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": "ad_groups", "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.idintegerParent campaign ID ad_group.idintegerAd group ID ad_group.namestringAd group name ad_group.statusstringAd group status (ENABLED, PAUSED, REMOVED) ad_group.typestringAd group type ad_group.ad_rotation_modestringAd rotation mode ad_group.base_ad_groupstringBase ad group resource name ad_group.campaignstringParent campaign resource name ad_group.cpc_bid_microsintegerCPC bid in micros ad_group.cpm_bid_microsintegerCPM bid in micros ad_group.cpv_bid_microsintegerCPV bid in micros ad_group.effective_target_cpa_microsintegerEffective target CPA in micros ad_group.effective_target_cpa_sourcestringSource of the effective target CPA ad_group.effective_target_roasnumberEffective target ROAS ad_group.effective_target_roas_sourcestringSource of the effective target ROAS ad_group.labelsarrayLabels applied to the ad group ad_group.resource_namestringResource name of the ad group ad_group.target_cpa_microsintegerTarget CPA in micros ad_group.target_roasnumberTarget ROAS ad_group.tracking_url_templatestringTracking URL template metrics.cost_microsintegerCost in micros segments.datestringDate segment for the report row
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.idintegerParent campaign ID data[].ad_group.idintegerAd group ID data[].ad_group.namestringAd group name data[].ad_group.statusstringAd group status (ENABLED, PAUSED, REMOVED) data[].ad_group.typestringAd group type data[].ad_group.ad_rotation_modestringAd rotation mode data[].ad_group.base_ad_groupstringBase ad group resource name data[].ad_group.campaignstringParent campaign resource name data[].ad_group.cpc_bid_microsintegerCPC bid in micros data[].ad_group.cpm_bid_microsintegerCPM bid in micros data[].ad_group.cpv_bid_microsintegerCPV bid in micros data[].ad_group.effective_target_cpa_microsintegerEffective target CPA in micros data[].ad_group.effective_target_cpa_sourcestringSource of the effective target CPA data[].ad_group.effective_target_roasnumberEffective target ROAS data[].ad_group.effective_target_roas_sourcestringSource of the effective target ROAS data[].ad_group.labelsarrayLabels applied to the ad group data[].ad_group.resource_namestringResource name of the ad group data[].ad_group.target_cpa_microsintegerTarget CPA in micros data[].ad_group.target_roasnumberTarget ROAS data[].ad_group.tracking_url_templatestringTracking URL template data[].metrics.cost_microsintegerCost in micros data[].segments.datestringDate segment for the report row
Ad Group Ads
Ad Group Ads List
Retrieves ad group ad data using GAQL query.
Python SDK
await google_ads . ad_group_ads . list ( customer_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_group_ads", "action": "list", "params": { "customer_id": "<str>" } }'
Parameters
Parameter Name Type Required Description querystringNo GAQL query for ad group ads pageTokenstringNo Token for pagination pageSizeintegerNo Number of results per page (max 10000) customer_idstringYes Google Ads customer ID (10 digits, no dashes)
Response Schema Records Field Name Type Description adGroupobjectadGroupAdobjectsegmentsobject
Field Name Type Description next_page_tokenstring
Ad Group Ads Search
Search and filter ad group 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 google_ads . ad_group_ads . search ( query = { "filter" : { "eq" : { "ad_group.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_group_ads", "action": "search", "params": { "query": {"filter": {"eq": {"ad_group.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_group.idintegerParent ad group ID ad_group_ad.ad.idintegerAd ID ad_group_ad.ad.namestringAd name ad_group_ad.ad.typestringAd type ad_group_ad.statusstringAd group ad status (ENABLED, PAUSED, REMOVED) ad_group_ad.ad_strengthstringAd strength rating ad_group_ad.ad.display_urlstringDisplay URL of the ad ad_group_ad.ad.final_urlsarrayFinal URLs for the ad ad_group_ad.ad.final_mobile_urlsarrayFinal mobile URLs for the ad ad_group_ad.ad.final_url_suffixstringFinal URL suffix ad_group_ad.ad.tracking_url_templatestringTracking URL template ad_group_ad.ad.resource_namestringResource name of the ad ad_group_ad.ad_groupstringAd group resource name ad_group_ad.resource_namestringResource name of the ad group ad ad_group_ad.labelsarrayLabels applied to the ad group ad ad_group_ad.policy_summary.approval_statusstringPolicy approval status ad_group_ad.policy_summary.review_statusstringPolicy review status segments.datestringDate segment for the report row
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_group.idintegerParent ad group ID data[].ad_group_ad.ad.idintegerAd ID data[].ad_group_ad.ad.namestringAd name data[].ad_group_ad.ad.typestringAd type data[].ad_group_ad.statusstringAd group ad status (ENABLED, PAUSED, REMOVED) data[].ad_group_ad.ad_strengthstringAd strength rating data[].ad_group_ad.ad.display_urlstringDisplay URL of the ad data[].ad_group_ad.ad.final_urlsarrayFinal URLs for the ad data[].ad_group_ad.ad.final_mobile_urlsarrayFinal mobile URLs for the ad data[].ad_group_ad.ad.final_url_suffixstringFinal URL suffix data[].ad_group_ad.ad.tracking_url_templatestringTracking URL template data[].ad_group_ad.ad.resource_namestringResource name of the ad data[].ad_group_ad.ad_groupstringAd group resource name data[].ad_group_ad.resource_namestringResource name of the ad group ad data[].ad_group_ad.labelsarrayLabels applied to the ad group ad data[].ad_group_ad.policy_summary.approval_statusstringPolicy approval status data[].ad_group_ad.policy_summary.review_statusstringPolicy review status data[].segments.datestringDate segment for the report row
Campaign Labels
Campaign Labels List
Retrieves campaign label associations using GAQL query.
Python SDK
await google_ads . campaign_labels . list ( customer_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": "campaign_labels", "action": "list", "params": { "customer_id": "<str>" } }'
Parameters
Parameter Name Type Required Description querystringNo GAQL query for campaign labels pageTokenstringNo Token for pagination pageSizeintegerNo Number of results per page (max 10000) customer_idstringYes Google Ads customer ID (10 digits, no dashes)
Response Schema Records Field Name Type Description campaignobjectcampaignLabelobjectlabelobject
Field Name Type Description next_page_tokenstring
Campaign Labels Create
Creates a campaign-label association, applying an existing label to a campaign for organization and filtering.
Python SDK
await google_ads . campaign_labels . create ( operations = [ ] , customer_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": "campaign_labels", "action": "create", "params": { "operations": [], "customer_id": "<str>" } }'
Parameters
Parameter Name Type Required Description operationsarray<object>Yes List of campaign label operations to perform operations.createobjectNo Campaign label association to create operations.create.campaignstringYes Resource name of the campaign (e.g., customers/1234567890/campaigns/111222333) operations.create.labelstringYes Resource name of the label (e.g., customers/1234567890/labels/444555666) customer_idstringYes Google Ads customer ID (10 digits, no dashes)
Response Schema Records Field Name Type Description resultsarray<object>
Campaign Labels Search
Search and filter campaign labels 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 google_ads . campaign_labels . 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": "campaign_labels", "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.idintegerCampaign ID campaign_label.resource_namestringResource name of the campaign label label.idintegerLabel ID label.namestringLabel name label.resource_namestringResource name of the label
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.idintegerCampaign ID data[].campaign_label.resource_namestringResource name of the campaign label data[].label.idintegerLabel ID data[].label.namestringLabel name data[].label.resource_namestringResource name of the label
Ad Group Labels
Ad Group Labels List
Retrieves ad group label associations using GAQL query.
Python SDK
await google_ads . ad_group_labels . list ( customer_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_group_labels", "action": "list", "params": { "customer_id": "<str>" } }'
Parameters
Parameter Name Type Required Description querystringNo GAQL query for ad group labels pageTokenstringNo Token for pagination pageSizeintegerNo Number of results per page (max 10000) customer_idstringYes Google Ads customer ID (10 digits, no dashes)
Response Schema Records Field Name Type Description adGroupobjectadGroupLabelobjectlabelobject
Field Name Type Description next_page_tokenstring
Ad Group Labels Create
Creates an ad group-label association, applying an existing label to an ad group for organization and filtering.
Python SDK
await google_ads . ad_group_labels . create ( operations = [ ] , customer_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_group_labels", "action": "create", "params": { "operations": [], "customer_id": "<str>" } }'
Parameters
Parameter Name Type Required Description operationsarray<object>Yes List of ad group label operations to perform operations.createobjectNo Ad group label association to create operations.create.adGroupstringYes Resource name of the ad group (e.g., customers/1234567890/adGroups/111222333) operations.create.labelstringYes Resource name of the label (e.g., customers/1234567890/labels/444555666) customer_idstringYes Google Ads customer ID (10 digits, no dashes)
Response Schema Records Field Name Type Description resultsarray<object>
Ad Group Labels Search
Search and filter ad group labels 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 google_ads . ad_group_labels . search ( query = { "filter" : { "eq" : { "ad_group.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_group_labels", "action": "search", "params": { "query": {"filter": {"eq": {"ad_group.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_group.idintegerAd group ID ad_group_label.resource_namestringResource name of the ad group label label.idintegerLabel ID label.namestringLabel name label.resource_namestringResource name of the label
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_group.idintegerAd group ID data[].ad_group_label.resource_namestringResource name of the ad group label data[].label.idintegerLabel ID data[].label.namestringLabel name data[].label.resource_namestringResource name of the label
Ad Group Ad Labels
Ad Group Ad Labels List
Retrieves ad group ad label associations using GAQL query.
Python SDK
await google_ads . ad_group_ad_labels . list ( customer_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_group_ad_labels", "action": "list", "params": { "customer_id": "<str>" } }'
Parameters
Parameter Name Type Required Description querystringNo GAQL query for ad group ad labels pageTokenstringNo Token for pagination pageSizeintegerNo Number of results per page (max 10000) customer_idstringYes Google Ads customer ID (10 digits, no dashes)
Response Schema Records Field Name Type Description adGroupAdobjectadGroupAdLabelobjectlabelobject
Field Name Type Description next_page_tokenstring
Ad Group Ad Labels Search
Search and filter ad group ad labels 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 google_ads . ad_group_ad_labels . search ( query = { "filter" : { "eq" : { "ad_group_ad.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": "ad_group_ad_labels", "action": "search", "params": { "query": {"filter": {"eq": {"ad_group_ad.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_group_ad.ad.idintegerAd ID ad_group_ad_label.resource_namestringResource name of the ad group ad label label.idintegerLabel ID label.namestringLabel name label.resource_namestringResource name of the label
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_group_ad.ad.idintegerAd ID data[].ad_group_ad_label.resource_namestringResource name of the ad group ad label data[].label.idintegerLabel ID data[].label.namestringLabel name data[].label.resource_namestringResource name of the label
Labels
Labels Create
Creates a new label that can be applied to campaigns, ad groups, or ads for organization and reporting purposes.
Python SDK
await google_ads . labels . create ( operations = [ ] , customer_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": "labels", "action": "create", "params": { "operations": [], "customer_id": "<str>" } }'
Parameters
Parameter Name Type Required Description operationsarray<object>Yes List of label operations to perform operations.createobjectNo Label to create operations.create.namestringYes Name for the new label operations.create.descriptionstringNo Description for the label operations.create.textLabelobjectNo Text label styling operations.create.textLabel.backgroundColorstringNo Background color in hex format (e.g., #FF0000) operations.create.textLabel.descriptionstringNo Description of the text label customer_idstringYes Google Ads customer ID (10 digits, no dashes)
Response Schema Records Field Name Type Description resultsarray<object>