Hi,

No problem. Glad to help. You will need to create a separate operation
<https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.services#google.ads.googleads.v1.services.CampaignCriterionOperation> 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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/28/19 07:36:36 fbos...@gmail.com wrote:

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?


On Wednesday, 27 March 2019 20:10:46 UTC+1, googleadsapi-forumadvisor wrote:

Hi,

You can add Languages
<https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.common#google.ads.googleads.v1.common.LanguageInfo> by
using the CampaignCriterionService
<https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.services#google.ads.googleads.v1.services.CampaignCriterionService>.
Although there are not specific examples for languages, you can have a look
at our client libraries
<https://developers.google.com/google-ads/api/docs/client-libs>. There are
examples on how to add Campaign Criterions
<https://developers.google.com/google-ads/api/docs/samples/add-campaign-targeting-criteria> 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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@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
<https://groups.google.com/d/msgid/adwords-api/bb59eae2-2f83-4616-add4-bdafe29c7510%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@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/f44d1d0a-b85d-477c-8ee3-f9d6ebddd523%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/f44d1d0a-b85d-477c-8ee3-f9d6ebddd523%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@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/1avi9h00000000000tmg5u001nbcmuy6smj4chm6co30c1g68qjac1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • Google ... F B
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
      • ... F B
        • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to