HELP REQUIRED - Google Ads REST API - Update MaxCPC Bid

49 views
Skip to first unread message

Sales HotPOS

unread,
Mar 1, 2023, 4:33:42 AM3/1/23
to Google Ads API and AdWords API Forum
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?


BODY:

{
"mutateOperations": [{
"update": {
"adGroupOperation": {
"resourceName": "customers/2294444797/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

Sales HotPOS

unread,
Mar 1, 2023, 4:44:48 AM3/1/23
to adwor...@googlegroups.com

Sales HotPOS

unread,
Mar 1, 2023, 5:11:29 AM3/1/23
to Google Ads API and AdWords API Forum
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

Google Ads API Forum Advisor

unread,
Mar 1, 2023, 11:13:54 AM3/1/23
to adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

Regarding the error that you are getting, based on this Set a bid on a listing group unit node guide, kindly note that you can set bids on unit nodes by setting the percent_cpc_bid_micros field or the cpc_bid_micros field of AdGroupCriterion. Attempting to do so on subdivision nodes will fail with an error. Please note that you can't set the bid amount on a subdivision.

Let us know if this is what you are looking for.

Regards,
Google Logo Google Ads API Team


ref:_00D1U1174p._5004Q2jI2LH:ref
Reply all
Reply to author
Forward
0 new messages