how to get adgroup Google Display Network performance via SearchStream API.

57 views
Skip to first unread message

neo

unread,
Nov 7, 2024, 11:24:53 PM11/7/24
to Google Ads API and AdWords API Forum
Hello,

I have trouble to get 'SEARCH' campaign performance via searchstream API through adgroup table.
In the console, there are adgroup performances by Google Display Network.

But I don't know how to get those performance, since I can't get with this query.

select segments.date, segments.hour, ad_group.id, segments.device, campaign.id, customer.id, metrics.impressions, metrics.clicks from ad_group where segments.date = {TARGET_DATE} and customer.id = {CUSTOMER_ID} and campaign.advertising_channel_type = 'SEARCH'

Any advice will be appreciates.

Thanks.

Google Ads API Forum Advisor

unread,
Nov 8, 2024, 4:00:34 AM11/8/24
to cnsb...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

I understand that you are encountering difficulty while fetching the Adgroup performance data via the Google Ads API searchStream.

To assist you further, could you provide us with the uncropped UI screenshot (from your Google Ads account) of the data that you are trying to fetch via the API? Make sure that your Google Ads customer ID is visible when taking the screenshot. Also, send us the complete API logs (request and response with request-id and request header) generated at your end while using the query you provided. 

If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java.NetPHPPythonRuby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag. 

You can send the details via Reply privately to the author option, or direct private reply to this email.

 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGim1:ref" (ADR-00274787)

Thanks,
 
Google Logo Google Ads API Team


김보성

unread,
Nov 19, 2024, 9:24:01 PM11/19/24
to Google Ads API Forum Advisor, adwor...@googlegroups.com
Hello,

Sorry for late reply. I got some trouble to upload file.
The attached file is uncropped UI screenshot.

I will prepare request / response json logs soon.

Thank you

adgroups_performance_google_display_network.jpg
Reply all
Reply to author
Forward
0 new messages