Call Extension Api Query

24 views
Skip to first unread message

Justin Blake

unread,
Sep 8, 2021, 4:57:39 PM9/8/21
to AdWords API and Google Ads API Forum
I'm trying to query all call extensions for a particular campaign or multiple campaigns. When I use the Google Ads Query Builder to write it, this is what it returns:

SELECT campaign.id, extension_feed_item.call_feed_item.country_code, extension_feed_item.call_feed_item.phone_number, extension_feed_item.id, extension_feed_item.resource_name, extension_feed_item.status FROM extension_feed_item WHERE campaign.id = XXXXXXXXXX

When I run that query, nothing is returned. When I go into the my account, get the call extension id, and then create a new query without the campaign id it looks like this:

SELECT extension_feed_item.call_feed_item.country_code, extension_feed_item.call_feed_item.phone_number, extension_feed_item.id, extension_feed_item.resource_name, extension_feed_item.status FROM extension_feed_item WHERE extension_feed_item.id = XXXXXXXXXX

When I run that, the call extension is returned and looks like this:

extension_feed_item {
  resource_name: "customers/XXXXXXXX/extensionFeedItems/XXXXXXXXX"
  status: ENABLED
  call_feed_item {
    phone_number: "XXXXXXXXXXXX"
    country_code: "US"
  }
  id: XXXXXXXXXXX
}

Is it a bug the query builder will allow me to select the campaign.id even though it doesn't work?

How can I get all the call extensions associated with a list of campaign ids?

Google Ads API Forum Advisor

unread,
Sep 9, 2021, 2:14:52 AM9/9/21
to jus...@socialclimb.com, adwor...@googlegroups.com
Hi Justin,

Thank you for raising your concern.

To investigate if it is a bug or intended behavior with specific reason, could you provide the complete request and response logs with request ID generated on your end for this report?

You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2NSYtd:ref
Reply all
Reply to author
Forward
0 new messages