I get that information, indeed from CampaignCriterionService. I do use a predicate on CriterionType. (In case you don't know, a predicate is essentially a filter). The predicate is: CriteriaType EQUALS "AD_SCHEDULE" Note: If I don't set up this predicate I get thousands of rows back on other criterion types, like languages and locations and what else. If you insist on not setting up this predicate, you should prepare your software for a lot of different results. And a slow response from the API as well. And you have to implement paging because the API won't return more than a few thousand rows in a single call.
On Monday, March 12, 2018 at 5:18:42 PM UTC+1, Mathieu Dubreuil wrote: > > Hi, > > I am simply trying to get the schedules for all of my campaigns and I > can't seem to figure out how. I do not want to modify anything, simply > retrieve the information about which days every campaign is running. I've > found the CampaignCriterionService but I don't understand how to simply set > the return values to AdSchedules. > > Is it possible to get this and not use it as a predicate? > > Thank you! > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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+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 Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@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/dc24027c-cb85-40d2-ad42-157656a4fd14%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.