Groups
Groups
Sign in
Groups
Groups
(Deprecated) Google Ads API and AdWords API Forum
Conversations
Labels
About
Send feedback
Help
GEO_PERFORMANCE_REPORT LocationType issue
38 views
Skip to first unread message
denma test
unread,
Oct 1, 2020, 6:45:44 AM
10/1/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API and Google Ads API Forum
Hi
I can work with Geo report works well. But when adding location type not working, i cannot find the mistake. Below is my qiery used
$query = (new ReportQueryBuilder())
->select($reportFields)
->from(ReportDefinitionReportType::GEO_PERFORMANCE_REPORT)
->where('IsTargetingLocation')->in([true,false])
->where('LocationType')->in([GeoTargetTypeSettingPositiveGeoTargetType::AREA_OF_INTEREST])
->during($startAt, $endAt)
->build();
Google Ads API Forum Advisor Prod
unread,
Oct 1, 2020, 9:59:39 AM
10/1/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to denm...@gmail.com, adwor...@googlegroups.com
Hello,
What is the error you are facing when using this field?
Thanks,
Anthony
Google Ads API Team
Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q25YKvJ:ref
denma test
unread,
Oct 3, 2020, 1:57:30 AM
10/3/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API and Google Ads API Forum
Hi
Found the causes, issue in below line
->where('IsTargetingLocation')->in(['true','false'])
need to pass as string, i used as true, false constant.
Reply all
Reply to author
Forward
0 new messages