Placement ("Where my ad shows") with an ID via API

271 views
Skip to first unread message

Matan Wilchek

unread,
Feb 24, 2021, 10:44:55 AM2/24/21
to AdWords API and Google Ads API Forum
Hi,

I'm using GoogleAds API with the "detail_placement_view" to pull all the placements that my ads are shown in. When I look in the UI, every placement like this, also has a Criterion ID (sometimes very long, or a negative number). However, I cannot get that Criterion ID through the API.

Only when I query through "campaign_criterion" or "ad_group_criterion", can I get the Criterion ID of the placement, but that placement isn't "where ads showed", its the excluded placement list.

Is there a way (preferably with GoogleAds, but also AdWords is ok) to query the placement of "where ads showed" with its ID that is found in the UI?

Thanks, Matan

Google Ads API Forum Advisor Prod

unread,
Feb 25, 2021, 11:10:26 AM2/25/21
to matan....@kendago.com, adwor...@googlegroups.com
Hi Matan,

You can run the group_placement_view in Google Ads API or Automatic Placements Performance Report to get the data you see in the "Where ads showed" in the Google Ads UI.

Cheers,
Anthony

Google Logo
Anthony
Google Ads API Team
 


ref:_00D1U1174p._5004Q2DIbAR:ref

Matan Wilchek

unread,
Mar 1, 2021, 6:54:32 AM3/1/21
to AdWords API and Google Ads API Forum

Hi Anthony,

I used the group_placement_view  in Google Ads API, and I get the placements URL through it, but I cannot get the placements ID. 
The resource fields available in group_placement_view are:

and no criterion id, as displayed in the UI. Is there a way to get the ID?

Thanks, Matan

Google Ads API Forum Advisor Prod

unread,
Mar 1, 2021, 10:18:01 PM3/1/21
to matan....@kendago.com, adwor...@googlegroups.com
Hi Matan,

I work with Anthony and let me provide support to your concern.

I am afraid that there is currently no field that you can include in group_placement_view report to get the criterion ID that you are seeing in the Where ads showed UI. With this, allow me to create a feature request for adding a field that could return the criterion ID of placements in Where ads showed UI, subject for review.

For now, you can follow our blog to receive updates and new releases about Google Ads API.

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


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