Hi Josh, I use the perl client and tried to add an proximity criteria, but I get always an error: Unmarshalling Error: cvc-elt.4.2: Cannot resolve 'xns:Proximity' to a type definition for element 'criteria'. What's my fault?
$campaign_estimate_request = Google::Ads::AdWords::v201603::CampaignEstimateRequest->new({ adGroupEstimateRequests => [$ad_group_estimate_request], criteria => [ Google::Ads::AdWords::v201603::Language->new({ id => '1001' }), # de Google::Ads::AdWords::v201603::Proximity->new({ address => Google::Ads::AdWords::v201603::Address->new({ cityName => 'Berlin', countryCode => 'de' }), radiusInUnits => 50, radiusDistanceUnits => 'KILOMETERS' }),# ] }); Am Dienstag, 15. Juli 2014 20:06:38 UTC+2 schrieb Josh Radcliff (AdWords API Team): > > Hi, > > The service does not support Proximity directly, but you could set up a > Campaign with Proximity criteria and then specify that campaign's ID in > your *CampaignEstimateRequest*'s campaignId > <https://developers.google.com/adwords/api/docs/reference/v201406/TrafficEstimatorService.CampaignEstimateRequest#campaignId>, > > and AdWords will use the targeting options in the campaign to produce > estimates. > > Cheers, > Josh, AdWords API Team > > On Monday, July 14, 2014 12:20:36 PM UTC-4, Sylwester Mazur wrote: >> >> Im playing with Google Adwords keywords estimation as I need it for my >> application. Code used is:EstimateKeywordTraffic >> <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201406/optimization/EstimateKeywordTraffic.java> >> Everything >> is fine, but despite of Locations, I need to pass Proximity as I'm using >> radius of the location. Tried to find any solution on the internet, have >> seen some similar question on googles forum from 2010, where they said it >> was impossible then. Anyone have any clue if its possible now? I guess it >> is looking on this page: TrafficEstimatorService (v201402) >> <https://developers.google.com/adwords/api/docs/reference/v201402/TrafficEstimatorService> >> where >> we can see that keyword Proximity appears few times in the error response >> list. >> >> Thank you so much and have a nice day. >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. 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/fba5d1b0-8dc5-437d-9a87-1ec6e3f6b7d0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.