Google Ads API - language criterion id

79 views
Skip to first unread message

Jakub Samsel

unread,
Jun 25, 2019, 5:28:40 PM6/25/19
to AdWords API and Google Ads API Forum
Hi,
I'm using your python library for Google Ads.
I would like to set campaign criteria for selected languages in a campaign created via API.
Is it possible to receive language criterion id from some service or I need to store these ids in my app based on CSV from docs https://developers.google.com/adwords/api/docs/appendix/codes-formats ?

Google Ads API Forum Advisor Prod

unread,
Jun 26, 2019, 3:53:58 AM6/26/19
to adwor...@googlegroups.com
Hi Jakub,

Thanks for posting your concern.

You can get the criterion ID of the language criterion by using some of the criterion services such as CampaignCriterionService.get and filter the Criterion.Type by LANGUAGE value. 

Also, could confirm clarify what you meant for this one 'I need to store these ids in my app based on CSV from docs https://developers.google.com/adwords/api/docs/appendix/codes-formats'.?

Regards,
Ejay
Google Ads API Team

ref:_00D1U1174p._5001UCZUjX:ref

Jakub Samsel

unread,
Jun 26, 2019, 6:12:53 AM6/26/19
to AdWords API and Google Ads API Forum
Thanks for quickly response and provide a resolve :)

With 'I need to store these ids in my app based on CSV from docs https://developers.google.com/adwords/api/docs/appendix/codes-formats' I mean, if would not exists any solution for receiving criterion ids I would save criterion ids from csv in my database

Google Ads API Forum Advisor Prod

unread,
Jun 27, 2019, 2:47:08 AM6/27/19
to adwor...@googlegroups.com
Hi Jakub,

Thanks for the clarification.

You may rather try the suggestion that I previously provided for retrieving criterion ID of the language criterion.

Let me know if you have further concern and I would be happy to provide support.

Regards,
Ejay
Google Ads API Team

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