Google Ads - add language to campaign

562 views
Skip to first unread message

F B

unread,
Mar 27, 2019, 11:21:49 AM3/27/19
to AdWords API and Google Ads API Forum
How does one add languages to a campaign, can't really find anything in the docs.

googleadsapi...@google.com

unread,
Mar 27, 2019, 3:10:46 PM3/27/19
to fbo...@gmail.com, AdWords API and Google Ads API Forum
Hi,

You can add Languages by using the CampaignCriterionService. Although there are not specific examples for languages, you can have a look at our client libraries. There are examples on how to add Campaign Criterions such as locations. You can use this as a reference for Languages.

Cheers,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/27/19 11:21:48 fbo...@gmail.com wrote:
How does one add languages to a campaign, can't really find anything in the docs.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/bb59eae2-2f83-4616-add4-bdafe29c7510%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

F B

unread,
Mar 28, 2019, 7:36:37 AM3/28/19
to AdWords API and Google Ads API Forum
Thank you! As always, your feedback is very appreciated!

I am wondering, does this mean I will have to create a CampaignCriterion for every language for every campaign? Assuming I have like 150k Campaigns and 20 languages each, then this alone would be 3 million objects. Or am I missing something here?

googleadsapi...@google.com

unread,
Mar 28, 2019, 11:11:30 AM3/28/19
to fbo...@gmail.com, AdWords API and Google Ads API Forum
Hi,

No problem. Glad to help. You will need to create a separate operation for each campaign criterion you are adding but multiple operations can be made in a single API call. From the example I provided earlier, you'll see that 3 operations are being made for a single API call.

Regards,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Reply all
Reply to author
Forward
0 new messages