ad schedule not included in CRITERIA_PERFORMANCE_REPORT

31 views
Skip to first unread message

Alexander de Wolff

unread,
Dec 16, 2019, 5:45:50 PM12/16/19
to AdWords API and Google Ads API Forum
I'm trying to pull the ad schedules for all of our ads which are run on a schedule to create an alert which will check whether ads are activated when they are supposed to.

Following this post I came up with the following solution:
I'm trying to pull this info using the following report definition (Ruby format, minimalized for debugging):

  criterion_definition = {
      selector: {
          fields: ['Criteria', 'CriteriaType'],
          predicates: [{
                           field: 'CriteriaType',
                           operator: 'EQUALS',
                           values: ['AD_SCHEDULE']
                       }]
      },
      report_name: 'ad_schedule_test',
      report_type: 'CRITERIA_PERFORMANCE_REPORT',
      download_format: 'CSV',
      date_range_type: 'ALL_TIME',
  }

When I leave out the predicate for selecting only AD_SCHEDULE it returns a large amount of results, with CriteriaTypes such as Keyword, Age, User Interest. However, it won't return any Ad_Schedule despite the fact that we have quite a few campaigns using ad schedule, as shown in the screenshot. Is there an issue with the report definition I'm using? Or is there a different report type that would work better for my intended use case?

Google Ads API Forum Advisor Prod

unread,
Dec 17, 2019, 12:07:22 PM12/17/19
to alexande...@vogliomarketing.com, adwor...@googlegroups.com
Hi Alexander,

Thank you for reaching out. You can use the Campaign Ad Schedule Target Report to get campaign metrics associated with ad schedules. If you want to get specific details about the schedule, you have to perform a get request using the CampaignCriterionService for AD_SCHEDULE type.

Regards,
Mitchell
Google Ads API Team

ref:_00D1U1174p._5001UOEgtV:ref

Alexander de Wolff

unread,
Dec 18, 2019, 5:44:35 PM12/18/19
to AdWords API and Google Ads API Forum
Hi Mitchell,

I will look into the Campaign Ad Schedule Target Report.

Thanks for the reply!
Reply all
Reply to author
Forward
0 new messages