Friday, 24 June 2016

Re: Retrieve account creation date

Awesome!! My bad. I was confused initially how that could be represented as a single value for a DateRange but it makes sense now.

On Friday, June 24, 2016 at 12:10:54 PM UTC-7, Shwetha Vastrad (AdWords API Team) wrote:
Hi Tejas,

Yes, if you add the field "Date" in the report query, the report data will be segmented by day within the given DateRange. The field "HourOfDay" will segment the report based on the time on a given day if used along with the "Date" field. Please note that these fields will not be available in all report types and may be incompatible with other fields. For a more detailed description of report types and available fields, please refer this document

An example query to get campaign performance for last week would look like this:
SELECT Date, HourOfDay, CampaignName, Impressions, Cost FROM CAMPAIGN_PERFORMANCE_REPORT DURING LAST_WEEK;

Regards,
Shwetha, AdWords API Team.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords 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+unsubscribe@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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/950d3c8a-8f3c-427a-b1e8-79eacdcae7a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment