Cannot add image extensions to campaign in batch operation

34 views
Skip to first unread message

Mihály Balás

unread,
Oct 23, 2022, 12:16:43 PM10/23/22
to Google Ads API and AdWords API Forum
Hello,

We have a large-scale application which deploys hundreds of campaigns daily. We are currently trying to incorporate logic which adds Image extensions to Search campaigns based on some business criteria.

Our application deploys the campaigns in a batch operation. I have tried to implement the image extension creation as per the example found in the Github repository, obviously with some modifications due to batch processing. However, I get the following error message every time I run the code:

MutateError, { "stringValue": "" }, Resource was not found., mutate_operations[69].extension_feed_item_operation.create.image_feed_item.image_asset

I double checked and made sure that the field in question is in fact set to the correct value (and not an empty string, as indicated by the error message). I even turned on request-response trace logging and examined the request, but the value was correctly set there too.

I have tried to run the same operation but without the batch: deploy the campaign in the batch, and after it has been created, add the image extension. This works as expected, but it adds unnecessary complexity to our application to do some operations in batch and some not in batch.

Am I doing something wrong, or is this a bug? Can the image extension creation be expected to work in a batch? I can provide detailed request-response traces in private if that helps.


Regards,
Mihaly

Google Ads API Forum Advisor

unread,
Oct 24, 2022, 12:01:29 AM10/24/22
to mihaly...@gmail.com, adwor...@googlegroups.com

Hi Mihaly,

Thanks for reaching out to the Google Ads API team. I hope you are doing well today.

To further investigate the issue, could you please provide the complete request and response logs, with the request-id? If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link. I ask this so our team further investigates your concern and provides specific recommendations on the issue.

You can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.


Regards,

Google Logo
Darwin
Google Ads API Team
 


ref:_00D1U1174p._5004Q2fnK60:ref
Reply all
Reply to author
Forward
0 new messages