Hello Api Team!

In the past we used the feed services to create image ad extensions at 
campaign level.
Some time ago it stopped working and the info was that this is depricated 
and read-only.

I checked the documentation and found following sample from V15 (we are 
using V13 right now):
https://developers.google.com/google-ads/api/samples/add-image-extension?hl=en

I implemented the ExtensionFeedItemService and made a test call

Method Name: 
/google.ads.googleads.v13.services.ExtensionFeedItemService/MutateExtensionFeedItems

{ "customerId": "XXXX", "operations": [ { "create": { "imageFeedItem": { 
"imageAsset": "customers/XXXX/assets/YYYY" } } } ], "partialFailure": true, 
"responseContentType": "MUTABLE_RESOURCE" }

But get an error:

Response
--------
Headers: {
  "content-disposition": "attachment",
  "request-id": "eaZ7I2hgVssiA-iMhZ0mPA",
  "date": "Mon, 04 Dec 2023 09:26:10 GMT",
  "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
}

{ "results": [ { } ], "partialFailureError": { "code": 3, "message": 
"Feed-based extension is read-only for this extension type., at 
operations[0].create.resource_name", "details": [ { "@type": 
"type.googleapis.com/google.ads.googleads.v13.errors.GoogleAdsFailure", 
"@value": 
"CnYKA4AFGBI6RmVlZC1iYXNlZCBleHRlbnNpb24gaXMgcmVhZC1vbmx5IGZvciB0aGlzIGV4dGVuc2lvbiB0eXBlLhoGKgRbNDhdIisSDgoKb3BlcmF0aW9ucxgAEggKBmNyZWF0ZRIPCg1yZXNvdXJjZV9uYW1lEhZlYVo3STJoZ1Zzc2lBLWlNaFowbVBB"
 
} ] } }

I think it is the same as if I used the old feed/feeditem service.
Are there any other steps needed so that I can start using this service?
I took a customer where we had a feed related image extensions before - 
could this be a reason for the error?

thanks a lot!
Adam



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/03b0c575-05ba-4677-b693-9567203ef951n%40googlegroups.com.

Reply via email to