Hi Ken, Since your main goal is to add an AdSchedule, then you need to use the ADD operator in your mutate() <https://developers.google.com/adwords/api/docs/reference/v201710/CampaignCriterionService#mutate> method as well as setting the criterion as AdSchedule instead of Platform. Also, you cannot set the startHour's <https://developers.google.com/adwords/api/docs/reference/v201710/CampaignCriterionService.AdSchedule#starthour> value as 24 as this will generate an error since the field accepts 0 -23 values. Below is the code snippet that works on my end that you can use as reference:
$adsched = new AdSchedule(); $adsched->setDayOfWeek(DayOfWeek::MONDAY); *$adsched**->setStartHour(14);* $adsched->setStartMinute(MinuteOfHour::ZERO); $adsched->setEndHour(24); $adsched->setEndMinute(MinuteOfHour::ZERO); // Create a criterion with modified bid. $criterion = new CampaignCriterion(); $criterion->setCampaignId($campaignId); *$criterion**->setCriterion($adsched);* $criterion->setBidModifier($bidModifier); // Create a campaign criterion operation and add it to the operations list. $operation = new CampaignCriterionOperation(); *$operation**->setOperator(Operator::ADD);* $operation->setOperand($criterion); $operations = [$operation]; Try this on your end and let me know if this works. Thanks, Vincent 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 email@example.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/1709e2d0-8e85-4425-8149-81921b24a018%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.