Hello,
I can't update bidmdofify for adGroup, someone could help me ?

I have this error message: 
"CANNOT_OVERRIDE_OPTED_OUT_CAMPAIGN_CRITERION_BID_MODIFIER"

Thanks very much !



I copy my request and response:
****************************************************************************************
google-ads.WARNING: Request made: Host: "googleads.googleapis.com", Method: 
"/google.ads.googleads.v16.services.AdGroupBidModifierService/MutateAdGroupBidModifiers",
 
CustomerId: 5537212111, RequestId: "luiK5s_REgnaXZww3X7u_w", IsFault: 1, 
FaultMessage: "["Cannot override the bid modifier for the given criterion 
ID if the parent campaign is opted out of the same criterion."]"  

[2024-04-05T11:27:56.568226+00:00] google-ads.NOTICE: Request

-------

Method Name: 
/google.ads.googleads.v16.services.AdGroupBidModifierService/MutateAdGroupBidModifiers

Host: googleads.googleapis.com

Headers: {

    "x-goog-api-client": "gl-php\/8.2.17 gccl\/22.1.0 gapic\/22.1.0 
gax\/1.30.0 grpc\/1.60.0 rest\/1.30.0 pb\/+n",

    "User-Agent": "gcloud-php-new\/22.1.0",

    "x-goog-request-params": "customer_id=5537212111",

    "developer-token": "REDACTED",

    "login-customer-id": "2839567378"

}

Request: 

{"customerId":"5537212111","operations":[{"updateMask":"resourceName,bidModifier","update":{"resourceName":"customers\/5537212111\/adGroupBidModifiers\/160130504349~30000","bidModifier":2}}]}



Response

-------

Headers: {

    "request-id": "luiK5s_REgnaXZww3X7u_w",

    "date": "Fri, 05 Apr 2024 11:27:56 GMT",

    "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"

}



Fault

-------

Status code: 3

Details: Request contains an invalid argument.

Failure: 
{"errors":[{"errorCode":{"adGroupBidModifierError":"CANNOT_OVERRIDE_OPTED_OUT_CAMPAIGN_CRITERION_BID_MODIFIER"},"message":"Cannot
 
override the bid modifier for the given criterion ID if the parent campaign 
is opted out of the same 
criterion.","trigger":{"doubleValue":2},"location":{"fieldPathElements":[{"fieldName":"operations","index":0},{"fieldName":"update"},{"fieldName":"bid_modifier"}]}}],"requestId":"luiK5s_REgnaXZww3X7u_w"}
 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3707e8b0-ed78-4ff6-8fbe-5604a4d9d6a1n%40googlegroups.com.

Reply via email to