Hi,
I created an advertisement through the API with two titles and 
descriptions, and then I called the modify advertisement API, but i got an 
error "Field 'ad.app_ad.images' cannot be modified by 'UPDATE' operation."
Is this because my FieldMask is wrong? Or is it that the interface does not 
support modifying creatives?
The FieldMask I filled in is "Paths: []string{'ad.app_ad.images'}"
Looking forward to your reply.

Below is my request body and response body:
request:&services.MutateAdGroupAdsRequest{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{},
 
DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, 
atomicMessageInfo:(*impl.MessageInfo)(nil)}, sizeCache:0, 
unknownFields:[]uint8(nil), CustomerId:"9878974158", 
Operations:[]*services.AdGroupAdOperation{(*services.AdGroupAdOperation)(0xc0004134a0)},
 
PartialFailure:false, ValidateOnly:false, ResponseContentType:0}
response:
{"level":"error","msg":"error:\u0026errorpkg.Status{Code:3, 
Platform:\"Google\", Reason:\"IMMUTABLE_FIELD\", Message:\"Field 
'ad.app_ad.images' cannot be modified by 'UPDATE' operation.\", 
Details:\"Request contains an invalid argument.\", 
RequestID:\"JOEF97DNxa1P59wmtDQWnA\"}","time":"2022-06-02T10:47:56+08:00"}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/40d43fcf-bb11-4f7e-8eb8-24c93b0333cbn%40googlegroups.com.

Reply via email to