Hi Pranay,
Thank you for providing additional information. However, upon double
checking your code implementation, I noticed that the predicate you used to
filter your result was the locationName
<https://developers.google.com/adwords/api/docs/reference/v201809/LocationCriterionService.Location#locationname>
instead
of the id
<https://developers.google.com/adwords/api/docs/reference/v201809/LocationCriterionService.Location#id>
field.
Could you try to change your predicate to id field then let me know if it
works?
Regards,
Luis
AdWords API Team
On 03/08/19 23:10:19 appanipranay wrote:
Hi Peter,
Here is the clientcustomerID: 6528378274. Please let me know, if you need
any further info.
[image: GAds_UI_ReportScreenshot1.png]
Thanks,
Pranay
On Friday, March 8, 2019 at 3:01:32 AM UTC-5, googleadsapi-forumadvisor
wrote:
Hi Pranay,
Before proceeding further with the investigation, could you provide to me
your clientCustomerId and the complete screenshot of where you downloaded
the report from the Google Ads UI?
Thanks and regards,
Peter
AdWords API Team
On 03/08/19 01:50:05 [email protected] wrote:
Hi Luis,
Below are few things, I tried and their results:
1) Tried with minimum set of metro ids in the Predicate.
a. For most of them, result was empty. Below are few Ids
location_names_metro = ['200517', '200535','200679','200501','20
0574','200534','200722','200635','200508','200570','200770',
'200757','200538','200514','200771','200754','200626','200765','200801']
b. Got result for only few, ex: '200635',’200801’.
Response:
[{
'location': {
'id': 9062537,
'type': None,
'Criterion.Type': 'Location',
'locationName': 'Rochor',
'displayType': 'Neighborhood',
'targetingStatus': 'ACTIVE',
'parentLocations': [
{
'id': 2702,
'type': None,
'Criterion.Type': 'Location',
'locationName': 'Singapore',
'displayType': 'Country',
'targetingStatus': 'ACTIVE',
'parentLocations': []
}
]
},
'canonicalName': 'Rochor,Singapore',
'reach': 804000,
'locale': None,
'searchTerm': '200635',
'countryCode': None
}, {
'location': {
'id': 1001655,
'type': None,
'Criterion.Type': 'Location',
'locationName': 'Rio de Janeiro',
'displayType': 'City',
'targetingStatus': 'ACTIVE',
'parentLocations': [
{
'id': 20102,
'type': None,
'Criterion.Type': 'Location',
'locationName': 'State of Rio de Janeiro',
'displayType': 'State',
'targetingStatus': 'ACTIVE',
'parentLocations': []
},
{
'id': 2076,
'type': None,
'Criterion.Type': 'Location',
'locationName': 'Brazil',
'displayType': 'Country',
'targetingStatus': 'ACTIVE',
'parentLocations': []
}
]
},
'canonicalName': 'Rio de Janeiro,State of Rio de Janeiro,Brazil',
'reach': 24700000,
'locale': None,
'searchTerm': '200801',
'countryCode': None
}]
The search term "200635" returned the location "Rochor" of type
"Neighborhood" with parent locations "Singapore (Country)", reach "804000"
and id "9062537" (ACTIVE)
The search term "200801" returned the location "Rio de Janeiro" of type
"City" with parent locations "State of Rio de Janeiro (Sta
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/19h1iho0000000018do96i002b40ckw6kmjidpg70o30c1g68qjad1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.