Hi ThanhDuong,
To answer your first question, basically, when you remove an ad, it means
that you cannot use the ad again and it cannot be recovered. So after
removing the ad, the status of that ad automatically becomes *DISABLED*. So
to generate reports for removed ads, you should set your status to
*DISABLED*.
For your second question, you are getting this error because your predicate
for *STATUS* should be capitalized. Small letters are not recognized as
values by the API in this case.
ex.
'predicates': [
{
'field': 'Status',
'operator': 'EQUALS',
'values': "*DISABLED*"
}
]
Can you also provide your clientCustomerId or a screenshot of your report
generated in the UI via *Reply privately to author* for me to double check
if you are not having discrepancies with the results?
Regards,
Dannison
AdWords API Team
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fa23421d-09e3-4967-967f-f61b5a4fd4c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.