Hi

I try this GAQL, but got nothing. Has this feature been modified?

request: SELECT metrics.cost_micros, segments.date FROM campaign WHERE 
segments.date >= '2020-01-01' AND segments.date <= '2021-12-31'
response: {"fieldMask": "metrics.costMicros,segments.date"}


On Tuesday, October 5, 2021 at 5:05:02 PM UTC+8 adsapi wrote:

> Hello,
>
> Thank you for reaching out to us.
>
> On your query, you can actually set the date range 
> <https://developers.google.com/google-ads/api/docs/query/date-ranges> to 
> capture the 365 days. See sample query below using the campaign view. You 
> can also check available reports here 
> <https://developers.google.com/google-ads/api/fields/v8/overview#list-of-all-resources>
> .
>
>
> SELECT metrics.cost_micros, segments.date FROM campaign WHERE segments.date 
> >= '2020-01-01' AND segments.date <= '2021-12-31'
>
>
> Also, can you confirm the following fields below so we can also provide 
> the actual report field equivalent?
>
>    - get the monthly or daily number of clicks -> you can use the 
>    metrics.clicks 
>    
> <https://developers.google.com/google-ads/api/fields/v8/metrics#metrics.clicks>
>     field 
>    - number of displays 
>    - digested amount 
>
> Regards,
> [image: Google Logo] 
> Mark Kevin Albios 
> Google Ads API Team 
>   
>
>  
>
>
> ref:_00D1U1174p._5004Q2OWLXn: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 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/5ac9c776-b3f1-4f2c-bcd5-830c124692d3n%40googlegroups.com.
  • Ho... RYO O
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
      • ... 廖真
        • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum

Reply via email to