Query for ad schedule too many results per campaign

16 views
Skip to first unread message

Jakub Banik

unread,
Mar 6, 2024, 10:05:00 AM3/6/24
to Google Ads API and AdWords API Forum
Hi, 
I have created such query.
SELECT campaign.name, campaign.id, campaign_criterion.ad_schedule.start_hour, campaign_criterion.ad_schedule.start_minute, campaign_criterion.ad_schedule.day_of_week, campaign_criterion.ad_schedule.end_hour, campaign_criterion.ad_schedule.end_minute FROM campaign_criterion WHERE campaign_criterion.status IN ('ENABLED')

I thought that i would get one result (row) or 7 as days in week per customer campaign.

But i got for specific client and specific campaign like 340 rows....
Dont know why is that maybe i did some mistakes in query or i do not understand it well.
btw. if  dayofWeek is unspecified it means what?

thanks for the response.

Google Ads API Forum Advisor

unread,
Mar 6, 2024, 2:13:23 PM3/6/24
to jakub.ban...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for contacting the Google Ads API support team.

By reviewing your concern, I understand that you are getting unexpected results while executing the campaign_criterion. In order to answer you questions, kindly provide us with the complete API logs (request and response with request-id and request header) generated at your end and uncropped UI screenshot of where you are facing the issue.

If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java, .Net, PHP, Python, Ruby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct private reply to this email.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02rziy5:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages