Image Extensions Creation Error

77 views
Skip to first unread message

Sidharth Ravindra

unread,
Jan 29, 2024, 7:27:44 PM1/29/24
to Google Ads API and AdWords API Forum
Hi, 

I've used the code exactly as used here - https://developers.google.com/google-ads/api/samples/add-image-extension and have been trying to map image assets to campaigns to create image extensions at scale. But keep receiving this error which I am unable to understand. (please also check the image attached) 

I also see this post HERE, which states this - On July 6, 2023 we announced the auto-migration of image and location extensions to assets. Once the auto-migration starts on August 2, 2023, new accounts will only be able to create image and location assets and not extensions. New accounts will be treated as accounts that have been migrated. 

Does this mean I cannot create image extensions using API? 

The following is the error I have been receiving: 
Host: googleads.googleapis.com, Method: /google.ads.googleads.v15.services.ExtensionFeedItemService/MutateExtensionFeedItems, IsFault: True, FaultMessage: Feed-based extension is read-only for this extension type.









image.png

Google Ads API Forum Advisor

unread,
Jan 30, 2024, 12:14:42 AM1/30/24
to sidharth....@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

Yes, as per the blog post it is not possible to create extensions.

Note that you won't be able to do any mutate (remove and create) operation to assets which are auto migrated. Kindly note that the image and location migrations are not synchronized. It is likely they will occur at different times for each account. Auto-migration will happen automatically, you no need to do any changes manually. If your account has been migrated or is new and you attempt to create an extension the mutate request will be rejected and you will receive the error LEGACY_EXTENSION_TYPE_READ_ONLY.

 
This message is in relation to case "ref:!00D1U01174p.!5004Q02rydd3:ref"

Thanks,
 
Google Logo Google Ads API Team


Sidharth Ravindra

unread,
Jan 31, 2024, 11:29:11 AM1/31/24
to Google Ads API and AdWords API Forum
So if I wanted to create image extensions at scale? By mapping image assets to respective campaigns, How can I do that? I know it can be done on the UI, but that process is very manual. If I have about 6000 campaigns - then mapping about 10 specific images individually for each of the campaigns manually would be very tedious and time-consuming. 

And since you mentioned image extensions can no longer be created, does that mean this code in Google documentation will no longer work and is obsolete? - https://developers.google.com/google-ads/api/samples/add-image-extension

Google Ads API Forum Advisor

unread,
Jan 31, 2024, 7:39:41 PM1/31/24
to sidharth....@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for getting back to us.

After reviewing your mail, I understand that you're looking to automate the process of mapping image assets to campaigns at scale. Please note that the Google Ads API allows for programmatic management of Google Ads campaigns, ad groups, ads, and other resources. By using the API, you can create scripts or programs to handle repetitive tasks efficiently. I would recommend referring to the Help Center article link for more information about image assets.
Reply all
Reply to author
Forward
0 new messages