Hi, thanks for the tip I tried again like this:
*curl --location -g --request POST 'https://googleads.googleapis.com/v6/customers/{customer_id}/campaignCriteria:mutate <https://googleads.googleapis.com/v6/customers/%7Bcustomer_id%7D/campaignCriteria:mutate>' \* *--header 'Authorization: Bearer {access_token}' \* *--header 'developer-token: {developer token}' \* *--header 'login-customer-id: 123456789' \* *--header 'Content-Type: application/json' \* *--data-raw '{* * "operations":[* * {* * "create":{* * "adSchedule":{* * "startMinute":"{scheduleDay.startMinute}",* * "endMinute":"{scheduleDay.endMinute}",* * "dayOfWeek":"{scheduleDay.dayOfWeek}",* * "startHour":"{scheduleDay.startHour}",* * "endHour":"{scheduleDay.endHour}"* * },* * "status":"ENABLED",* * "campaign":"{campaign_id}",* * "bidModifier":1.0* * }* * }* * ]* *}* And it still doesn't work.. Would appreciate other ideas of how to solve that 👍 On Thursday, February 4, 2021 at 7:01:03 AM UTC+10 adsapiforumadvisor wrote: > Hi Eylon, > > Thank you for reaching out. When you create a new CampaignCriterion, you > are not supposed to add resourceName in the operations. Please remove the > "campaignCriterion":"customers/{customer_id}/campaignCriteria/{campaign_id}~{random_generated_id}" > > and try it again. > > Thanks and regards, > Xiaoming, Google Ads API Team > > [image: Google Logo] > Xiaoming > Google Ads API Team > > > ref:_00D1U1174p._5004Q2BdL8k: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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/13ae8260-83fb-4f2b-bdc5-5cceee7d4a97n%40googlegroups.com.
