Google Ads Reference Data - Codes and Formats Data

103 views
Skip to first unread message

Sweran

unread,
Nov 8, 2022, 11:07:17 PM11/8/22
to Google Ads API and AdWords API Forum
Hi Team,

Is there a google ads api to extract reference data for codes and format.

I was able to extract for data from geoTargetConstants using GAQL and alternatively looking for something similar.

Thanks in advance.

Regards,
Swetha

Google Ads API Forum Advisor

unread,
Nov 9, 2022, 2:14:19 AM11/9/22
to swetha.r...@intelletek.global, adwor...@googlegroups.com

Hi Sweran,

Thank you for reaching out to us.

Could you kindly elaborate and provide more details on the reference data for codes and format you want to extract, so that we could provide precise guidance accordingly?

If you think that it contains sensitive information then you may send it 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

In addition, you may check this documentation as it has the tables of criterion IDs and system codes and format.

Best regards,

Google Logo
Heidi
Google Ads API Team
 


ref:_00D1U1174p._5004Q2g1njt:ref

Sweran

unread,
Nov 9, 2022, 4:01:25 AM11/9/22
to Google Ads API and AdWords API Forum
Thanks for the quick response.

I am after loading the tsv/csv files that are available in the criterion IDs table section of the documentation automatically into big query/snowflake using the google ads api. 

Regards,
Swetha

Google Ads API Forum Advisor

unread,
Nov 9, 2022, 8:46:09 AM11/9/22
to swetha.r...@intelletek.global, adwor...@googlegroups.com

Hi Swetha,

Thanks for getting back to us.

Kindly note that there is no API service or REST endpoint to pull said tsv/csv files automatically into a big query/snowflake in Google Ads API. However you may refer to this page for the all available reports in the Google Ads API so that you may pull the data on your end. For the provided criteria, you may use different reports as following:
 

Also, if you are particularly interested in pulling any Google Ads UI screen data, you may provide us with a complete screenshot via reply privately to author option, so that we can provide you specific recommendations.

Regards,

Google Logo
Yasar
Google Ads API Team
 


ref:_00D1U1174p._5004Q2g1njt:ref

Sweran

unread,
Nov 9, 2022, 6:06:28 PM11/9/22
to Google Ads API and AdWords API Forum
Thanks for the response.

To understand the data, I queried Gender_view as provided in the report section using GAQL. I could see only one attribute resource i.e. resource name  made up of  customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}.

I am expecting a view that could provide me what code 10/11/20 means.. i.e. Male/Female/Undetermined

Reports view are not giving me the details of what the ID's /codes mean.

Regards,
Swetha

Google Ads API Forum Advisor

unread,
Nov 9, 2022, 11:41:06 PM11/9/22
to swetha.r...@intelletek.global, adwor...@googlegroups.com
Hi Swetha,

This is Carmela from the Google Ads API team as well. Thank you for getting back to us.

Moving forward, kindly note that as per this guide, it is expected that the resource name for gender view will return as this form "customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}". Having said that, since ad_group_criterion resource is one of the attributed resources of the gender view, please try including the ad_group_criterion.gender.type field to your request to see if you will get your expected data.

In addition, I would suggest gender_view_query_builder which will help you build and validate your query.

Regards,
Google Logo
Carmela
Google Ads API Team
 


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