
Hello,
Thank you for reaching out to the Google Ads API Team.
Can you please confirm if you are looking for the Google Ads API documentation for Targeting? If so, you may refer to the links below.
Let us know if you have any additional questions.
![]() |
Google Ads API Team |
Hi,
Thank you for responding back.
With regards to your concern, could you try using the detail_placement_view report and include detail_placement_view.placement_type field in your query? This will return an output for the type of the placement, for example, Website, YouTube Video, and Mobile Application. Please let us know how it goes.
You may also note that information of these placements may not be returned in the API similar to the screenshot you shared since the API's reports should map more to the UI's reports views. You may also check this guide (https://developers.google.com/google-ads/api/docs/reporting/uireports) which maps the concepts and naming conventions for reports in the Google Ads UI to the reports that you can generate using Google Ads Query Language (GAQL) and the Google Ads API.
I hope this helps.
Reference Links:

Hello,
Thank you for getting back to us.
I understand that you are getting empty results in your query and mixed results when you remove filters. Can you please provide us with an uncropped screenshot of the Google Ads UI that shows the data you are trying to obtain? I am asking this since the Google Ads API and UI mimic each other’s behavior and having the screenshot would help us determine the appropriate fields and filters to suggest in your query.
You can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com
Hi Yakuo,
Thank you for the reply.
Upon checking again the screenshot you have provided, I can see that this is cropped, and it seems that you are creating instead of seeing data that already exists in the UI. Please note that the Google Ads API mirrors the Google Ads UI. Whatever data shows on the Ads UI report, the API should pull or have it the same. That being said, since you want to retrieve data, could you please provide us with the entire UI screenshot without cropping, including its customer ID, where you can see the already existing data that you want to retrieve in the API? I asked this since it would indeed be possible to get empty results if there’s no data that already uploaded by your account.
If you are having difficulties in finding the data that already uploaded to your account in the Google Ads UI, you may reach out to Product team via this link(https://support.google.com/google-ads/gethelp), as they are better equipped to provide guidance on UI-related matters.
You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.
However, since the UI you provided is in the part of campaign targeting, I would suggest you check this PlacementInfo (https://developers.google.com/google-ads/api/docs/targeting/criteria#:~:text=the%20campaign%20level.-,PlacementInfo,-These%20are%20created) in the Campaign Criteria (https://developers.google.com/google-ads/api/docs/targeting/criteria#campaign_criteria) section of the documentation. If you want to do this in the API, then you may use the CampaignCriterionService (https://developers.google.com/google-ads/api/reference/rpc/v14/CampaignCriterionService).
Hi Yakuo,
Thanks for getting back with us.
With regards to your concern, when retrieving data in the Google Ads API, you will only be able to pull the data if you are using the Client Customer ID in your request header. Kindly note that you are able to see data in the MCC account, however this is not possible on the Google Ads API.
With that being said, upon checking the screenshot you provided, it seems that the CID shown is a manager account ID. Can you confirm if you are using the MCC ID of 6556057796 to send requests in API? If so, then I would recommend using the Client customer ID of the data you want to retrieve and then specify the MCC ID as the login-customer-id in your request headers, without the hyphen(-).
Let me know how this goes in your end.
Links included in this email: