Local Ads Data Missing in Gender/ Age View API Endpoints

226 views
Skip to first unread message

SANJAY SRINIVAAS M R

unread,
Feb 14, 2022, 9:00:50 PM2/14/22
to Google Ads API and AdWords API Forum
Hi, I have been extracting Adgroup Metrics from the Gender View using API. I am able to get data for the Search Campaign Type Ad groups but no data comes through for Ad groups of Local type. Can you please clarify on this issue.

This is the query I am using
{
"query" : "select campaign.advertising_channel_type,metrics.average_cpc, metrics.clicks,metrics.ctr, metrics.impressions, metrics.cost_micros, ad_group.name, campaign.name, ad_group.id, campaign.id, campaign.optimization_score,segments.date ,ad_group_criterion.gender.type FROM gender_view where segments.date BETWEEN '2021-01-01' AND '2022-02-02'"
}

Google Ads API Forum Advisor

unread,
Feb 15, 2022, 4:21:06 PM2/15/22
to ss...@perceptive-analytics.com, adwor...@googlegroups.com

Hello Sanjay,

Thanks for reaching out to the Google Ads API support. Could you please provide us with the complete request and response logs with the request-id and request header, so our team can better check the root cause of the error?
Please send the requested details via the Reply privately to the author option. If this option is not available, you may send the details directly to us googleadsapi-support@google.com alias instead. 

For the client library, logging can be enabled by navigating to the Client libraries > Your client library (ex. Python) > Logging documentation, which you can access from this link.

Best regards,

Google Logo
Jakeia Sabrina
Google Ads API Team
 

ref:_00D1U1174p._5004Q2WvjKw:ref

SANJAY SRINIVAAS M R

unread,
Feb 17, 2022, 11:55:24 AM2/17/22
to Google Ads API and AdWords API Forum

Hi Jakeia,

I have privately replied with the requested information. Please let me know if you were able to find the reason for this behaviour. TIA!

Best,
Sanjay
On Wednesday, February 16, 2022 at 2:51:06 AM UTC+5:30 adsapi wrote:

Hello Sanjay,

Thanks for reaching out to the Google Ads API support. Could you please provide us with the complete request and response logs with the request-id and request header, so our team can better check the root cause of the error?

Please send the requested details via the Reply privately to the author option. If this option is not available, you may send the details directly to us googleadsa...@google.com alias instead. 



For the client library, logging can be enabled by navigating to the Client libraries > Your client library (ex. Python) > Logging documentation, which you can access from this link.

Best regards,

Google Ads API Forum Advisor

unread,
Feb 17, 2022, 7:45:30 PM2/17/22
to ss...@perceptive-analytics.com, adwor...@googlegroups.com
Hi Sanjay,

Thank you for providing the details. I am also a member of the Google Ads API team and let me provide support to your concern.

I impersonated the report using the initial query that you provided and I also retrieved an empty report. However, upon investigation, I can see that you encountered what was discussed on this document that zero metrics are always excluded when segmenting a report, provided all selected metrics are zero. The gender types targeted to your local campaigns received zero impression and this is the reason why the report is empty. With this, if you want to get the local ad data from this report type, then I would suggest removing the segments.date field.
https://googleads.googleapis.com/v8/customers/xxxxxxxxxx/googleAds:searchStream

{
  "query" : "select campaign.advertising_channel_type,metrics.average_cpc, metrics.clicks,metrics.ctr, metrics.impressions, metrics.cost_micros,   ad_group.name, campaign.name, ad_group.id, campaign.id, campaign.optimization_score,segments.date ,ad_group_criterion.gender.type FROM gender_view where segments.date BETWEEN '2021-12-20' AND '2022-02-02'"
}

Let me know if you have further questions.

Regards,
Google Logo
Ernie John
Google Ads API Team
 


ref:_00D1U1174p._5004Q2WvjKw:ref

SANJAY SRINIVAAS M R

unread,
Feb 17, 2022, 9:08:09 PM2/17/22
to Google Ads API and AdWords API Forum
Hi Ernie,

I am certain that that all the metrics for my Local adgroups will not be Zero all days of last year. Just to check I ran the call to the Adgroup endpoint for my local ads and received the required data. I don't understand how the total adgroup level data could exist but while retrieving it split up by Age or Gender from Age/ Gender View we could receive all Nulls. I am privately attaching the log for the call I ran from Adgroup endpoint for your reference.Thanks!

SANJAY SRINIVAAS M R

unread,
Feb 17, 2022, 10:19:33 PM2/17/22
to Google Ads API and AdWords API Forum
Hi Ernie,

I went to the Google Ads web interface to the Audience tab to check if I need to turn some kind of targeting for getting Age reports for my Local Ads. I found out that none of my Local campaigns are showing up in the edit demographics tab. Does this mean that Google Ads doesn't support targeting gender/age in Local Ads? Is there anyway to turn on at least reporting feature for these split ups in the interface for Local Ads. If this kind of Local Ads Gender/Age reporting is currently not available in Google Ads could you let me know if and when this feature will be added as this information is paramount for our internal analysis. Thanks for your help and have great day!

Best,
Sanjay

Google Ads API Forum Advisor

unread,
Feb 18, 2022, 7:56:47 AM2/18/22
to ss...@perceptive-analytics.com, adwor...@googlegroups.com
Hi Sanjay,

I work with Ernie and will assist you. The API can only be a conduit for the ads product as expressed in the UI. If it isn't available in the UI then chances are it isn't available in the API. You may reach out to product support for assistance and requests.

Regards,

Google Logo
Aryeh
Google Ads API Team
 


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