Hi

I was trying to call the suggested report API (based on this sample 
<http://www.freeadwordsscripts.com/2018/03/ive-written-several-free-scripts-that.html>),
 
but I get an error message:

    var query = "SELECT conversion_action.firebase_settings.event_name, 
conversion_action.status, conversion_action.resource_name FROM 
conversion_action DURING LAST_30_DAYS";
    var report = AdWordsApp.report(query, {apiVersion: reportVersion});
    var rows = report.rows();

Exception: Call to GoogleAdsService.Search failed: Error in query: 
unexpected input DURING. (file Code.gs, line 65)

If I call it without the DURING clause I get an empty result set.

How can I prolong the date range if DURING is not allowed?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1b32c16d-dfb9-4030-9be3-2acc1172bcbcn%40googlegroups.com.
  • "conversion... 'EladB' via AdWords API and Google Ads API Forum
    • RE: "c... Google Ads API Forum Advisor
      • Re: &qu... Pete Lavetsky (AdWords API Guru)
        • Re:... 'Elad Ben-David' via AdWords API and Google Ads API Forum
          • ... Pete Lavetsky (AdWords API Guru)
            • ... 'Elad Ben-David' via AdWords API and Google Ads API Forum
            • ... 'Elad Ben-David' via AdWords API and Google Ads API Forum
              • ... Google Ads API Forum Advisor

Reply via email to