campaign Location is not getting

55 views
Skip to first unread message

shi...@gmail.com

unread,
Aug 30, 2017, 9:49:14 AM8/30/17
to AdWords API Forum

Hi,

I have
implemented GEO_PERFORMANCE_REPORT and getting some location IDs which are not present in google location sheet. Even implemented CampaignCriterionService for location Criterion but getting the same issue. Following are the location ids.
200504 200506 200510 200511 200512 200515 200518 200519 200524 200527 200528 200529 200535 200539 200542 200544 200556 200557 200560 200561 200567 200571 200575 200602 200609 200611 200613 200616 200618 200623 200630 200635 200641 200650 200652 200659 200669 200678 200691 200751 200752 200753 200807 200819 200820

Even form CAMPAIGN_LOCATION_TARGET_REPORT we are getting ids like "310183455762" for these types of api's

Note: campaign location on adwords panel are given as latitude and longitude form.

Please let me know how to get location for these type of ids?

Thanks,
Amit Dahiya

Shwetha Vastrad (AdWords API Team)

unread,
Aug 30, 2017, 3:39:00 PM8/30/17
to AdWords API Forum
Hi Amit, 

You'll not be able to retrieve Proximity or Location groups criterion using Geographical targeting table or through LocationCriterionService since these are custom locations. I would suggest that you use CampaignCriterionService to retrieve these location-based criteria. The GetCampaignTargetingCriteria Java example shows how to retrieve campaign criteria. You can modify this example to retrieve Proximity targets, by using appropriate selector fields and predicates. Example code in other languages are available here.

Regards,
Shwetha, AdWords API Team.

shi...@gmail.com

unread,
Aug 31, 2017, 3:49:00 AM8/31/17
to AdWords API Forum
Hi Shwetha,

I have implemented  CampaignCriterionService  service from that service also I got these Ids.


200504 200506 200510 200511 200512 200515 200518 200519 200524 200527 200528 200529 200535 200539 200542 200544 200556 200557 200560 200561 200567 200571 200575 200602 200609 200611 200613 200616 200618 200623 200630 200635 200641 200650 200652 200659 200669 200678 200691 200751 200752 200753 200807 200819 200820

 I am implementing this in PHP.

Thanks,
Amit Dahiya


Shwetha Vastrad (AdWords API Team)

unread,
Aug 31, 2017, 10:22:34 AM8/31/17
to AdWords API Forum
Hi Amit, 

Could you enable logging and provide the SOAP request and response logs for the CampaignCriterionService.get() request? Please use Reply privately to author when responding. 

Thanks,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages