Hello,
Thanks for reaching out. You can use the Query Migration Tool to convert
AdWords API queries to the Ads API. For your query, the tool provides the Ads
API equivalent below:
SELECT segments.date, campaign.id, campaign.name, ad_group.id, ad_group.name,
metrics.impressions, metrics.clicks, metrics.cost_micros FROM ad_group WHERE
ad_group.status IN ("ENABLED","PAUSED") AND segments.date DURING LAST_7_DAYS
Regards,
Matt
Google Ads API Team
Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2PL1eJ:ref
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/RKiSw000000000000000000000000000000000000000000000R1A5QK00oP2O9bqoTbS-bi4ZN_2U1w%40sfdc.net.