A few days ago, I started getting a bunch of errors from my scripts that looked like this:
Exception: Invalid reporting query: INVALID_PREDICATE_ENUM_VALUE: ACTIVE
If anyone else is seeing this issue, it has to do with an update to the reporting API. Previously, ACTIVE used to be a valid enum value for CampaignStatus, which was always sort of an anomaly since everything else used ENABLED. It has been updated to match the other Status values but in the process, broke any script that was using the ACTIVE status. Here is an example:
... var query = ['select',cols.join(','),'from',report, 'where CampaignStatus = ACTIVE', 'and AdGroupStatus = ENABLED', 'and Status = ACTIVE', 'during','TODAY'].join(' '); ...This should be changed to:
... var query = ['select',cols.join(','),'from',report, 'where CampaignStatus = ENABLED', 'and AdGroupStatus = ENABLED', 'and Status = ENABLED', 'during','TODAY'].join(' '); ...
I am trying to go back and update my previous scripts but it might take some time.
Thanks,
Russ
Thanks a lot for a good blog. In this blog, I gain more knowledge about technology.
ReplyDeleteStruts Training in Chennai
Struts Training
Struts Training in Velachery
Wordpress Training in Chennai
Wordpress course in Chennai
Spring Training in Chennai
Hibernate Training in Chennai
Struts Training in Chennai
Reading your blog left me with some useful info and this was an awesome blog.
ReplyDeleteSpoken English Class in Anna Nagar
Spoken English Class in Porur
Spoken English Class in T Nagar
Spoken English Class in Adyar
Spoken English Classes in Chennai
Best Spoken English Classes in Chennai
IELTS Coaching in Chennai
IELTS Coaching Centre in Chennai
English Speaking Classes in Mumbai
IELTS Classes in Mumbai
You can also learn English grammar right here https://domyhomework.guru/blog/too-much-homework. Cheers!
ReplyDelete