Dear Team,
Thank you for your response. Just to clarify — my question is specifically regarding *ads* created under *Search campaigns*. I understand that AD_IMAGE can be used to link image assets, but I would like to confirm whether *image assets can be attached to individual ads* within Search campaigns, as the UI allows this during ad creation. Looking forward to your clarification. Best regards, Amit Tomar On Wednesday, July 30, 2025 at 9:17:15 PM UTC+5:30 Google Ads API Forum Advisor wrote: > Hi Amit, > > Thank you for reaching out to the Google Ads API support team. > > Yes, you can link image assets to search campaigns. This can be achieved > with AssetFieldType called AD_IMAGE > <https://developers.google.com/google-ads/api/reference/rpc/v20/AssetFieldTypeEnum.AssetFieldType#ad_image> > . > > First you need to create image asset using the AssetService > <https://developers.google.com/google-ads/api/reference/rpc/v20/AssetService/MutateAssets?apix=true> > , > try the below sample request : > > > { > "operations": [ > { > "create": { > "imageAsset": { > "data": "", > "fullSize": { > "heightPixels": 1200, > "url": "https://gaagl.page.link/Eit5", > "widthPixels": 628 > }, > "mimeType": "IMAGE_PNG" > > }, > "name": "Enter name of the asset" > > } > > } > > ] > > } > > > Once the image asset is created, you can link this asset to search > campaigns using the CampaignAssetService > <https://developers.google.com/google-ads/api/reference/rpc/v20/CampaignAssetService/MutateCampaignAssets?apix=true>. > > To do this, follow the below sample request : > > > { > "operations": [ > { > "create": { > "asset": "customers/{customer_id}/assets/{newly_created_asset_id}", > "campaign": "customers/{customer_id}/campaigns/{search_campaign_id}", > "fieldType": "AD_IMAGE" > > } > > } > > ] > > } > > If you encounter any issues, please share the latest complete API logs ( > request > <https://developers.google.com/google-ads/api/docs/concepts/field-service#request> > and response > <https://developers.google.com/google-ads/api/docs/concepts/field-service#response> > with request-id > <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id> > and request header > <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>) > > generated at your end. > > If you are using a client library and haven't enabled the logging yet, I > would request you to enable logging for the specific client library that > you are using. You can refer to the guides Java > <https://developers.google.com/google-ads/api/docs/client-libs/java/logging> > , .Net > <https://developers.google.com/google-ads/api/docs/client-libs/dotnet/logging> > , PHP > <https://developers.google.com/google-ads/api/docs/client-libs/php/logging> > , Python > <https://developers.google.com/google-ads/api/docs/client-libs/python/logging> > , Ruby > <https://developers.google.com/google-ads/api/docs/client-libs/ruby/logging> > or Perl > <https://developers.google.com/google-ads/api/docs/client-libs/perl/logging> > to > enable logging at your end. For REST interface requests, you can enable > logging via the curl command by using the -i flag. > > You can send the details via *Reply privately to the author option*, or > *direct > private reply* to this email. > > Thanks, > > [image: Google Logo] Google Ads API Team > Feedback > How was our support today? > > [image: rating1] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=1&entry.295079254=500Ht00001sxDeVIAU> > > [image: rating2] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=2&entry.295079254=500Ht00001sxDeVIAU> > > [image: rating3] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=3&entry.295079254=500Ht00001sxDeVIAU> > > [image: rating4] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=4&entry.295079254=500Ht00001sxDeVIAU> > > [image: rating5] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=5&entry.295079254=500Ht00001sxDeVIAU> > [2025-07-30 15:46:05Z GMT] This message is in relation to case > "ref:!00D1U01174p.!500Ht01sxDeV:ref" (ADR-00321200) > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/adwords-api/792b82ac-3e5a-4e8f-a346-65269f3895e1n%40googlegroups.com.