ad_group_ad results in empty data

636 views
Skip to first unread message

Swetha Nagaraj

unread,
Jun 21, 2022, 3:00:46 AM6/21/22
to Google Ads API and AdWords API Forum
Hi Team,

We were using adperformance reports in old adwords API and we migrated to ad_group_ad for new ads API. We use Google Search, Google display network and Google shopping accounts to get ad_group_ad data and this results in empty list. we are able to query other reports and only this report is resulting in empty records.

Query : SELECT ad_group_ad.ad.idad_group.id,ad_group.name,campaign.id,campaign.name,segments.keyword.ad_group_criterion,metrics.clicks,metrics.ctr,metrics.cost_micros,metrics.impressions, segments.device, segments.date FROM ad_group_ad where segments.date= '2022-06-02' 

The response of this query is empty and we have response code of 200.

The response from Google is : 

22-06-20 11:38:02.558 INFO 7 --- [t-executor-3203] c.g.ads.googleads.lib.request.summary : SUCCESS REQUEST SUMMARY. Method: google.ads.googleads.v10.services.GoogleAdsService/SearchStream, Endpoint: googleads.googleapis.com:443, CustomerID: 5976632001, RequestID: XAXnEgF6XG-u40ObCY4NDw, ResponseCode: OK, Fault: null.

Please let me know if you need more information.

Best Regards,
Swetha.

Google Ads API Forum Advisor

unread,
Jun 21, 2022, 4:16:17 AM6/21/22
to swetha....@ladenzeile.com, adwor...@googlegroups.com
Hi Swetha,

Thank you for posting your concern.

Upon impersonating the report on my end, I was able to replicate the empty report. However, what is causing it is the segments.keyword.ad_group_criterion so I would suggest removing it in your query. Since your account only have shopping campaign, it will not generate reports when you include keyword related fields as this entity is not utilized by the said campaign type.

Let me know if you have further questions.

Regards,
Google Logo
Ernie John
Google Ads API Team
 


ref:_00D1U1174p._5004Q2byWHN:ref

Swetha Nagaraj

unread,
Jun 21, 2022, 11:45:42 AM6/21/22
to Google Ads API and AdWords API Forum
Thank you so much for the response. After removing the field it did work fine. In adwords API (Ad Performance Report), we did have keyword ID and we used that id to map to other reports. Is there a way to get keyword ID in ad_group_ad resource?

Google Ads API Forum Advisor

unread,
Jun 22, 2022, 2:14:46 AM6/22/22
to swetha....@ladenzeile.com, adwor...@googlegroups.com
Hi Swetha
 
I am Sherwin from Google Ads API support team and I work with Ernie. I hope that you are doing well today.

Moving forward to your concern, Swetha, to be honest with you, I am afraid that we cannot fetch the value of the keyword id using the ad_group_ad as discussed by my colleague Ernie. What we can do is to advise you to rely on the reports on the Google Ads API instead as it will return the data that is closer to the UI.

Please let us know if you have further concerns.

Kind regards,
Google Logo
Sherwin Vincent
Google Ads API Team
 


ref:_00D1U1174p._5004Q2byWHN:ref

Swetha Nagaraj

unread,
Jun 22, 2022, 3:42:49 AM6/22/22
to Google Ads API and AdWords API Forum
Hi Sherwin,

Thank you so much for getting back to me. Can you guide me to which reporting I should use? Because I looked at https://developers.google.com/google-ads/api/docs/reporting/overview and did not see any particular reports to be used.

Best Regards,
Swetha.

Google Ads API Forum Advisor

unread,
Jun 22, 2022, 7:07:21 AM6/22/22
to swetha....@ladenzeile.com, adwor...@googlegroups.com
Hi Swetha,

Thank you for the reply. 

With regard to your concern "Can you guide me to which reporting I should use?", could you please provide more details on what data you want to get and at what level? In order to answer and suggest correctly to your question. If the data you want to get can be seen in the UI, please provide a screenshot because it will help for us to check.

Best regards,
Google Logo
Jinky
Google Ads API Team
 


ref:_00D1U1174p._5004Q2byWHN:ref

Google Ads API Forum Advisor

unread,
Jun 22, 2022, 7:09:47 AM6/22/22
to adwor...@googlegroups.com, swetha....@ladenzeile.com
Hi Swetha,

For security privacy purposes, you can provide it via the Reply privately to author option. If this option is not available, then send it instead on this email address googleadsapi-support@google.com.

Swetha Nagaraj

unread,
Jun 22, 2022, 8:06:57 AM6/22/22
to Google Ads API and AdWords API Forum
Hi Jinky,

I want to differentiate between retention and acquisition ads. We did this in adwords API by filtering using Keyword ID. So I tried to do same thing in new API. I want to know if we can filter data at Keyword level or is it only at Ad level? If it is at Ad level, then how can I differentiate between acquisition and retention data?

Regards,
Swetha.
On Wednesday, June 22, 2022 at 1:09:47 PM UTC+2 adsapi wrote:
Hi Swetha,

For security privacy purposes, you can provide it via the Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Google Ads API Forum Advisor

unread,
Jun 22, 2022, 9:48:35 AM6/22/22
to swetha....@ladenzeile.com, adwor...@googlegroups.com
Hi Swetha,

Thank you for getting back to us.

So our team can check for further recommendations, could you provide more details on what you meant by retention and acquisition ads? I asked because in terms of ad types, our API support team is currently only familiar with those included in the ad_group_ad.ad.type field.

If you currently have a Google Ads UI view that displays the retention and acquisition ads, could you provide the full screenshot as well so our team can validate its availability in the Google Ads API's reports?

Should the screenshot contain your user / account information, you may send it instead 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.

Best regards,

Google Logo
Peter Laurence
Google Ads API Team
 


ref:_00D1U1174p._5004Q2byWHN:ref

Swetha Nagaraj

unread,
Jun 22, 2022, 12:20:00 PM6/22/22
to Google Ads API and AdWords API Forum
Hi Peter,

ah I am sorry. I will raise another request for acquisition and retention data. The ad_group_ad has a field segments.keyword.ad_group_criterion and we do not see result
https://developers.google.com/google-ads/api/docs/migration/mapping#ad_performance. According to above case, segments.keyword.ad_group_criterion field does not has data if it is shopping campaign account. But we do not see data for Search and Google Display Network accounts as well. Is this expected? If I want to get Keyword related data for Search, Google Display Network and Google Shopping accounts, How do i do it?

Google Ads API Forum Advisor

unread,
Jun 22, 2022, 2:41:39 PM6/22/22
to swetha....@ladenzeile.com, adwor...@googlegroups.com
Hi Swetha,

Thank you for your response. Our team shall await more details on the acquisition and retention data.

Moving forward, regarding your issue "we do not see data for Search and Google Display Network accounts as well", could you provide to our team your latest and complete request and response logs, and request-id, and the login-customer-id used?

If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation. You may then send the requested information via the Reply privately to author option or directly to our googleadsa...@google.com alias instead.

In addition, keyword information should generally be available using the keyword_view. Other options to get keyword type or similar (search term) data would be :
Reply all
Reply to author
Forward
0 new messages