get campaign callout extensions via GAQL

38 views
Skip to first unread message

marsel...@gmail.com

unread,
Sep 13, 2022, 3:00:35 PM9/13/22
to Google Ads API and AdWords API Forum
Hi, I have some callout extensions, and i can get the list with query:
SELECT asset.id, asset.resource_name, asset.name, asset.type FROM asset WHERE asset.type = 'CALLOUT'
and get result:
...
"asset": {
   "resourceName": "customers/xxxxxxxx/assets/xxxxxxx",
   "type": "CALLOUT",
   "id": "xxxxxx",
   "calloutAsset": {
      "calloutText": "Quick & Easy Setup"
   }
}
...
but how do i get the link list between campaign and my callout extensions? I tried to use the method https://developers.google.com/google-ads/api/fields/v11/campaign_asset_set, but the result is always empty array.
SELECT campaign_asset_set.asset_set, campaign_asset_set.campaign, campaign_asset_set.resource_name, campaign_asset_set.status from campaign_asset_set
result: []

Google Ads API Forum Advisor

unread,
Sep 13, 2022, 3:20:03 PM9/13/22
to marsel...@gmail.com, adwor...@googlegroups.com
Hi there,

You may want to try the campaign_asset resource, the asset_set.type doesn't show callout extensions and therefore the asset_set cannot have callout extensions.

Regards,

Google Logo
Aryeh
Google Ads API Team
 


ref:_00D1U1174p._5004Q2eO23s:ref

marsel...@gmail.com

unread,
Sep 13, 2022, 3:29:11 PM9/13/22
to Google Ads API and AdWords API Forum
Thanks!

вторник, 13 сентября 2022 г. в 22:20:03 UTC+3, adsapi:
Reply all
Reply to author
Forward
0 new messages