Hi folks,
I'm pretty new but I couldn't find any answers on these. I'm using the 
Google Ads API and am struggling with some quite basic issues. I have no 
experience with the older AdWords API

1) I'm trying to get campaign data, segmented *by week.* I can pull it for 
the week itself easy enough using:

FROM campaign
> WHERE segments.date DURING LAST_WEEK_MON_SUN


But that gives me a new row for each campaign for each day of the week last 
week. 
I've tried segment.week but I get an error: "Expects filters on the 
following field to limit a finite date range: \'segments.date\'"
How can I get just the weekly metrics for each campaign in a single row?


2) I really don't understand how to use the various services outside the 
main GoogleAdsService. I'm trying to get the ISO currency code for a 
customer account but have no idea how to use the GetCurrencyConstant 
service.
If I try customer.CurrencyConstant I get an error that it is not a 
compatible field. 
Can someone show me what I need to do to get that or point me to some 
documentation on how to use it? 

Many thanks in advance for your help. 



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b21c6c36-1e8a-414d-9aa6-834f62ae9ed1o%40googlegroups.com.

Reply via email to