I want to modify the image of an image_ad type ad with a given `ad_id`.
When I use AdService to modify it, the following error occurs:
(<_InactiveRpcError of RPC that terminated with:
status = StatusCode.INVALID_ARGUMENT
details = "Request contains an invalid argument."
debug_error_string = "UNKNOWN:Error received from peer
ipv4:127.0.0.1:7777 {created_time:"2025-05-19T05:42:15.5886834+00:00",
grpc_status:3, grpc_message:"Request contains an invalid argument."}"
>, <_InactiveRpcError of RPC that terminated with:
status = StatusCode.INVALID_ARGUMENT
details = "Request contains an invalid argument."
debug_error_string = "UNKNOWN:Error received from peer
ipv4:127.0.0.1:7777 {created_time:"2025-05-19T05:42:15.5886834+00:00",
grpc_status:3, grpc_message:"Request contains an invalid argument."}"
>, errors {
error_code {
request_error: IMMUTABLE_FIELD
}
message: "Field \'image_ad.data\' cannot be modified by \'UPDATE\'
operation."
location {
field_path_elements {
field_name: "operations"
index: 0
}
field_path_elements {
field_name: "update"
}
field_path_elements {
field_name: "image_ad"
}
field_path_elements {
field_name: "data"
}
}
}
request_id: "Sgw2tFrYlXQu6OkrrofwZQ"
, 'Sgw2tFrYlXQu6OkrrofwZQ')
Do I need to set the current image_ad to "REMOVED" and then create a new
one? In this case, will the ad_id also change? Please explain to me the
correct process of modifying the image in image_ad.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 visit
https://groups.google.com/d/msgid/adwords-api/7198c9de-f62f-42fc-a736-f1b0003021bbn%40googlegroups.com.