hi,i use reporting api to get UAC campaign data,but get this error:
在此输入代码...
PHP Fatal error: Uncaught Google\AdsApi\AdWords\v201802\cm\ApiException:
Details: [fieldPath: AdvertisingChannelSubType; trigger: Invalid predicate
name: AdvertisingChannelSubType; errorString:
SelectorError.INVALID_PREDICATE_FIELD_NAME] in
googleads/googleads-php-lib/src/Google/AdsApi/AdWords/Reporting/v201802/ReportDownloader.php:234
Stack trace:
my searching code:
$query = (new ReportQueryBuilder())
->select([
'CampaignId',
'CampaignName',
'Impressions',
'Clicks',
'AllConversions',
'Conversions',
'CostPerConversion',
'Cost'
])
->from(ReportDefinitionReportType::CRITERIA_PERFORMANCE_REPORT)
->where('AdvertisingChannelType')->equalTo('MULTI_CHANNEL')
->where('AdvertisingChannelSubType')->equalTo('UNIVERSAL_APP_CAMPAIGN')
->duringDateRange(ReportDefinitionDateRangeType::LAST_7_DAYS)
->build();
how i fix this?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7e787f8a-2973-44c4-af8a-9918a35fdbd2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.