Hi Joe,

Thanks for reaching out.

Upon checking the SOAP logs in the provided screenshot, I noticed that
you've used the '*Status'* field in the filter of your report so that all
the campaigns with paused status will not be included in the response.
However, this field doesn't exist in the Campaign Performance Report
<https://developers.google.com/adwords/api/docs/appendix/reports/campaign-performance-report> and
this is the reason why you encountered the INVALID_PREDICATE_FIELD_NAME
<https://developers.google.com/adwords/api/docs/reference/v201809/MediaService.SelectorError.Reason#INVALID_PREDICATE_FIELD_NAME> error.
What you can do is to change the '*Status*' field into '*CampaignStatus*'
field and try to re-execute the API call.

Let me know if the issue persists.

Regards,
Ejay
Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 05/05/19 15:57:10 joe502357...@qq.com wrote:

Hi Team,
I am using AdWords API in version v201809. The default report type
is CRITERIA_PERFORMANCE_REPORT and I can get data in CSV format.
But i got a 400 status fail when i change
CRITERIA_PERFORMANCE_REPORT to CAMPAIGN_PERFORMANCE_REPORT.The return
message is like the picture in the attachment.

By the way,the fields is being changed like this:

$selector->setFields(
    [
        'CampaignId',
        'CampaignName',
        'Clicks',
        'Impressions',
        'Cost'
    ]
);




Look forward to your reply

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/5e464cc0-c1f8-41b7-af87-81e2fd7de732%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/5e464cc0-c1f8-41b7-af87-81e2fd7de732%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/00d12hui380000018gc9c2000rvsekx60mj0c1o70o30c1g68r36e1m%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to