The requestId discussed in this thread is: o1chTC8UDgR0aEJ9kB6tGQ
We're running into issues when attempting to update existing
ExtensionFeedItems for Image Extensions
Are there any whitelisting preclusions for mutating Image Extensions or
their ExtensionFeedItems ?
Running this query: query: "select extension_feed_item.resource_name from
extension_feed_item where extension_feed_item.extension_type = IMAGE
and extension_feed_item.status != REMOVED "
One of the results I get is:
Body: results {
extension_feed_item {
resource_name: "customers/XXX852/extensionFeedItems/185975516042"
}
}
When attempting to update this ExtensionFeedItem we get an error "Resource
was not found"
Request
-------
MethodName:
google.ads.googleads.v8.services.ExtensionFeedItemService/MutateExtensionFeedItems
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=REDACTED,
x-goog-api-client=gl-java/1.8.0_161 gapic/ gax/1.65.1 grpc/1.37.0}
Body: customer_id: "REDACTED"
operations {
update {
resource_name: "customers/XXX852/extensionFeedItems/185975516042"
status: ENABLED
extension_type: IMAGE
image_feed_item {
}
}
update_mask {
paths: "resource_name"
paths: "extension_type"
paths: "status"
}
}
We get an error stating that the resource_name was not found:
Response
--------
Headers:
Metadata(content-disposition=attachment,content-type=application/grpc,request-id=o1chTC8UDgR0aEJ9kB6tGQ,date=Fri,
16 Jul 2021 16:09:38 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443";
ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443";
ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443";
ma=2592000,quic=":443"; ma=2592000; v="46,43")
Body: results {
}
results {
}
results {
}
partial_failure_error {
code: 3
message: "Multiple errors in \342\200\230details\342\200\231. First
error: Resource was not found., at operations[0]"
details {
type_url:
"type.googleapis.com/google.ads.googleads.v8.errors.GoogleAdsFailure"
value: "\n3\n\0028\003\022\027Resource was not
found.\032\002*\000\"\020\022\016\n\noperations\030\000\n3\n\0028\003\022\027Resource
was not
found.\032\002*\000\"\020\022\016\n\noperations\030\001\n3\n\0028\003\022\027Resource
was not found.\032\002*\000\"\020\022\016\n\noperations\030\002"
}
}
Failure message: null
Status: Status{code=OK, description=null, cause=null}.
I've also tried just updating the ExtensionFeedItem operation to only
include the resource_name so it looks like below but I get the same error
operations {
update {
resource_name: "customers/8172767852/extensionFeedItems/185975516042"
}
update_mask {
paths: "resource_name"
}
}
Any ideas?
Pete
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
"AdWords API and Google Ads 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/1a9b7030-eb9a-4c41-a57e-eb017888753bn%40googlegroups.com.