Ok, I think I got it working, now I get a different error:

POST /v12/customers/2294444797/adGroupCriteria:mutate

{
"operations": [{
"updateMask": "cpcBidMicros",
"update": {
"resourceName": 
"customers/2294444797/adGroupCriteria/131828347674~315771655572",
"cpcBidMicros": 1000000
}
}]
}

ERROR:
Listing group SUBDIVISION nodes cannot have bids

On Wednesday, March 1, 2023 at 7:33:42 PM UTC+10 Sales HotPOS wrote:

> Hey Guys,  I need to update the MaxCPC of an Adgroup via v12 REST API.  
> But I cannot get it to work! :(  Can someone please help?
>
> *POST*:
>
>
> https://googleads.googleapis.com/v12/customers/2294444797/adGroupCriteria:mutate
>
> *BODY*:
>
> {
> "mutateOperations": [{
> "update": {
> "adGroupOperation": {
> "resourceName": "customers/2294444797 <(229)%20444-4797>
> /adGroupCriteria/127038220534~58909121666",
> "cpcBidMicros": 1000000
> },
> "updateMask": "cpcBidMicros"
> }
> }]
> }
>
> *ERROR*:
>
> INVALID_ARGUMENT (400) Invalid JSON payload received. Unknown name 
> "update" at 'mutate_operations[0]': Cannot find field
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/8c2c17a7-0b2f-4d50-a193-7fe88f85768dn%40googlegroups.com.
  • Re... 'Sales HotPOS' via Google Ads API and AdWords API Forum
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to