I want to make this query:

```
SELECT
customer.currency_code,
customer.id,
campaign.name,
campaign_budget.amount_micros,
metrics.cost_micros,
segments.date
FROM campaign
WHERE
segments.date BETWEEN campaign.start_date AND campaign.end_date
```

But since the clause `BETWEEN` expects a string in the format `YYYY-MM-DD`, 
it yields an error related to it. What is the proper way to write the WHERE 
clause?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/504acc62-d71d-48b2-8fe1-b9b35391acf8n%40googlegroups.com.
  • Pr... Ícaro Lorran
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to