Code sample for adding image extensions?

60 views
Skip to first unread message

Sean Driscoll

unread,
Feb 10, 2021, 7:44:33 AM2/10/21
to AdWords API and Google Ads API Forum
Hi,

Any plans for adding a code sample for creating campaign level image extensions or for linking an existing image asset to campaigns.
Would be appreciated.

Thanks

Google Ads API Forum Advisor Prod

unread,
Feb 11, 2021, 2:10:41 AM2/11/21
to se...@tokms.com, adwor...@googlegroups.com
Hi Sean,

Thanks for posting your concern.

I am afraid that it is not possible to associate asset, specifically existing image asset, to a campaign. An asset can only associated with ads using AdGroupAdService as discussed on this document.

With regard to your concern about adding sample code for associating image extensions at the campaign level, allow me to raise a feature request for this, subject for review. Please follow our blog to receive updates and new releases.

As as workaround, you may try to implement or derive your code based on extension service setting or feed services guide in Google Ads API.

The equivalent guide of the 2 services in AdWords API are specified below:
extension service setting - https://developers.google.com/adwords/api/docs/guides/extension-settings
feed services - https://developers.google.com/adwords/api/docs/guides/feed-services

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


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