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):
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