Using LocationCriterionService <https://developers.google.com/adwords/api/docs/reference/v201406/LocationCriterionService> I can get only list of Location criterion <https://developers.google.com/adwords/api/docs/reference/v201406/LocationCriterionService.LocationCriterion> and unfortunately it has nothing to do with GeoPoint objects...
среда, 30 июля 2014 г., 16:45:31 UTC+3 пользователь Josh Radcliff (AdWords API Team) написал: > > Hi, > > Yes, you can use the LocationCriterionService > <https://developers.google.com/adwords/api/docs/reference/v201406/LocationCriterionService> > where > your *Selector* has a predicate based on the *Id* field. See the example > request below. > > Cheers, > Josh, AdWords API Team > > <get xmlns="https://adwords.google.com/api/adwords/cm/v201406"> > <selector> > <fields>Id</fields> > <fields>LocationName</fields> > <fields>CanonicalName</fields> > <fields>DisplayType</fields> > <fields>ParentLocations</fields> > <fields>Reach</fields> > <fields>TargetingStatus</fields> > <predicates> > *<field>Id</field>* > <operator>IN</operator> > <values>2276</values> > <values>2278</values> > </predicates> > <predicates> > <field>Locale</field> > <operator>EQUALS</operator> > <values>en</values> > </predicates> > <ordering> > <field>LocationName</field> > <sortOrder>ASCENDING</sortOrder> > </ordering> > </selector> > </get> > > On Wednesday, July 30, 2014 9:28:20 AM UTC-4, Dzmitry Zahusta wrote: >> >> Hi! >> >> Is it possible to get GeoPoint by Criteria ID? I mean Criteria ID that >> can be found here >> <https://developers.google.com/adwords/api/docs/appendix/geotargeting>. >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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 Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.