Hi Frank, You will need to set the campaign just like how the example you provided did.
In the campaignCriterion object, you will need to add 'campaign' => $campaignResourceName You'll also need to provide pass the variable in the function that creates the ad schedule. Regards, Anthony Google Ads API Team Anthony Google Ads API Team ref:_00D1U1174p._5004Q25Yela:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/nw1jj000000000000000000000000000000000000000000000QHL1SG00i2aIcBZBRqChHZfOd2Rv-Q%40sfdc.net.