Hi Ivan
Thank you for thorough answer. We now understand we can only look up for
targetable locations by name via LocationCriteria.
However, we've tested several locations and found out that we were only
able to look up locations for Cities (e.g. Seoul, Busan) and NOT with
detail addresses (e.g. 702-19 yeoksamdong).
Here is the result when we entered '702-19 yeoksamdong' for radius
targeting:
String[] locationNames = new String[] {"702-19 yeoksamdong"};
// Get the LocationCriterionService.
LocationCriterionServiceInterface locationCriterionService =
adWordsServices.get(session,
LocationCriterionServiceInterface.class);
Selector selector = new SelectorBuilder()
.fields(
"Id",
"LocationName",
"CanonicalName",
"DisplayType",
"ParentLocations",
"Reach",
"TargetingStatus")
.in("LocationName", locationNames)
.build();
// Make the get request.
LocationCriterion[] locationCriteria =
locationCriterionService.get(selector);
We tried the same address in AdWords, and the result came out accurately
(refer to image I attached). But we weren't able to get that result through
API.
By looking at this result, tell us which part of the codes we must improve
to get same results as AdWords for radius targeting.
Please note that we do use Proximity criteria when creating radius
targeting, but this issue is mainly deals with looking up and getting
result for targetable locations.
Thank you.
2017년 9월 8일 금요일 오후 5시 42분 20초 UTC+9, Ivan Bautista 님의 말:
>
> Hi Jiwon,
>
> Thank you for providing the screenshot to help us understand your concern
> even more. As per documentation
> <https://developers.google.com/adwords/api/docs/guides/location-targeting#look_up_location_codes_for_a_region>,
>
> the only way to look up for targettable locations by name (similar to the
> UI screenshot provided) is via LocationCriterionService
> <https://developers.google.com/adwords/api/docs/reference/v201708/LocationCriterionService>.
>
> However, this service only returns Location Criteria
> <https://developers.google.com/adwords/api/docs/reference/v201708/LocationCriterionService.LocationCriterion>.
>
> As mentioned earlier, radius targets are implemented as Proximity criteria
> <https://developers.google.com/adwords/api/docs/reference/v201708/CampaignCriterionService.Proximity>
> and
> thus will not be returned in the LocationCriterionService.get().
>
> Currently, you may only retrieve already targeted Proximity Criteria via
> CampaignCriterionService.get()
> <https://developers.google.com/adwords/api/docs/reference/v201708/CampaignCriterionService#get>
> but not look up for targettable radius targets similar to the AdWords UI.
>
> On the other hand, if you want to know the difference between the Search
> Tab and Radius Targeting Tab in the AdWords UI as pointed out in your
> screenshot, then it would be best to raise that question and any other
> AdWords UI related questions to the AdWords Community forum
> <https://www.en.advertisercommunity.com/t5/Google-AdWords/ct-p/Google_AdWords#>
> as
> it is the more appropriate forum to get answers for those kind of queries.
>
> Regards,
> Ivan
> 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/c7666abf-f37f-4f51-a978-dc72d90b854c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.