Hello Sir Peter,

I guess I have to option out the LocationSearchParameter because I needed 
to select all countries. I also tried to add all 200+ countries in the list 
object but it doesn't work.
But optioning out LocationSearchParamter works. Thank you so much!

On Monday, April 2, 2018 at 1:31:08 PM UTC+8, Peter Oliquino wrote:
>
> Hi Mark,
>
> My apologies if I cannot provide an example using the client library that 
> you are using. However, what I can give you is a description on how you can 
> pass multiple locations into your request. In order to do this, you must 
> first :
>
> 1. Create Location 
> <https://developers.google.com/adwords/api/docs/reference/v201802/TargetingIdeaService.Location>
>  objects 
> then set their respective IDs using the Criteria IDs that are available in 
> the geo targeting spreadsheet 
> <https://developers.google.com/adwords/api/docs/appendix/geotargeting>.
> 2. Create a List object for your Locations and add each of your Location 
> objects into that List object.
> 3. You may then pass the list of locations into your 
> LocationSearchParameter 
> <https://developers.google.com/adwords/api/docs/reference/v201802/TargetingIdeaService.LocationSearchParameter>
>  using 
> its setLocations() method.
>
> As for targeting all locations, you can just opt to not specify a 
> LocationSearchParameter as this should indicate that you wish to target all 
> locations. Let me know if this helps.
>
> Best regards,
> Peter
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
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/803d7cbb-2e25-4f1d-89cd-63178e1065c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to