How to get the entities within the specified DateRange in Selector of CampaignService(v201603)?

26 views
Skip to first unread message

Peng Xi

unread,
May 2, 2016, 1:46:57 PM5/2/16
to AdWords API Forum
I set DateRange (min, max) in Selector of CampaignService(v201603) to retrieve campaigns, while it returned all the results beyond the specified dates. Does the DateRange work, and how can I use the DateRange? And is the date range for startDate, endDate or the changed date of campaigns?  Thanks.

Shwetha Vastrad (AdWords API Team)

unread,
May 2, 2016, 5:17:53 PM5/2/16
to AdWords API Forum
Hi,

The DateRange field in the selector is for filtering out the dates for which the campaign stats are requested. It is not meant to be used to filter campaigns by a date range. You can use the CustomerSyncService instead. This service gives you the list of entities which have changed within the date range provided in the selector. 

Regards,
Shwetha, AdWords API Team.

Peng Xi

unread,
May 2, 2016, 8:17:31 PM5/2/16
to AdWords API Forum
Thanks.
Reply all
Reply to author
Forward
0 new messages