Hi,

I have used this method only for setting the language and location but it 
is setting a single location as it is taking a single string of the 
location or language id but while giving multiple location ids it is not 
working. 

On Thursday, December 21, 2023 at 1:40:15 PM UTC+5:30 Google Ads API Forum 
Advisor wrote:

> Hi Pranav,
>
> Thank you for getting back to us.
>
> I understand that you want to set multiple locations and languages while 
> creating search campaigns using Google Ads API. I would suggest you to 
> check our Criteria 
> <https://developers.google.com/google-ads/api/docs/targeting/criteria> guide, 
> you may create many LanguageInfo 
> <https://developers.google.com/google-ads/api/reference/rpc/v11/LanguageInfo>
>  and LocationInfo 
> <https://developers.google.com/google-ads/api/reference/rpc/v11/LocationInfo> 
> criteria 
> for each campaign. Here's our language_constant 
> <https://developers.google.com/google-ads/api/fields/v11/language_constant> 
> resource 
> for supported languages and here's our sample code Search For Language 
> And Carrier Constants 
> <https://developers.google.com/google-ads/api/docs/samples/search-for-language-and-carrier-constants>.
>  
> You can modify our Add Campaign Targeting Criteria 
> <https://developers.google.com/google-ads/api/docs/samples/add-campaign-targeting-criteria>
>  to 
> add multiple language criteria instead.
>
> Hope this helps.
>
>   
> This message is in relation to case "ref:!00D1U01174p.!5004Q02r2ooR:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>  
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bed13144-87d9-4086-8f8a-ea689a83c39en%40googlegroups.com.
  • Re... Pranav Kumar
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Pranav Kumar
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to