Hi Team,

Thank you for the clarification regarding image assets.

Could you please help me understand how I can link a *video asset* with a 
campaign via the API? Specifically, I would like to know:

   1. 
   
   Which *campaign types* support video assets?
   2. 
   
   What is the correct approach to *link a video asset* to a campaign using 
   the Google Ads API?
   3. 
   
   What AssetFieldType should be used for video assets in such cases?
   
Your guidance on this will be really helpful.

On Thursday, July 24, 2025 at 5:36:06 PM UTC+5:30 Google Ads API Forum 
Advisor wrote:

> Hi Amit,
>
> Thank you for reaching out to the Google Ads API support team.
>
> Please find the following answers to your questions:
>
> The FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE 
> <https://developers.google.com/google-ads/api/reference/rpc/v20/AssetLinkErrorEnum.AssetLinkError#field_type_incompatible_with_campaign_type>
>  
> error occurs when the asset field types (MARKETING_IMAGE and 
> SQUARE_MARKETING_IMAGE) doesn't align with the search campaign type.
>
> It's not possible to link asset fields, such as MARKETING_IMAGE 
> <https://developers.google.com/google-ads/api/reference/rpc/v20/AssetFieldTypeEnum.AssetFieldType#marketing_image>
>  
> or SQUARE_MARKETING_IMAGE 
> <https://developers.google.com/google-ads/api/reference/rpc/v20/AssetFieldTypeEnum.AssetFieldType#square_marketing_image>,
>  
> directly to Search campaigns. These image assets 
> <https://developers.google.com/google-ads/api/docs/assets/overview#:~:text=Display%20upload%20Ad-,Image,-MARKETING_IMAGE%0ASQUARE_MARKETING_IMAGE%0ALOGO>
>  
> are only supported for App ads, App engagement ads, Local ads, and 
> Responsive Display ads. For Search campaigns, only text assets are 
> supported, which can be used for Responsive Search Ads.
>
> For more detailed information on which asset types are linked to specific 
> ad types, refer to this document 
> <https://developers.google.com/google-ads/api/docs/assets/working-with-assets#use_the_asset_in_an_ad>.
>  
>
>
> *1) Is it possible to link image assets to a Search campaign at the 
> campaign level via the API?*
>
> 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>
>
> *2) If yes, what is the correct approach to do so, and which 
> AssetFieldType values are supported?*
>
> You need to use the asset field type called AD_IMAGE 
> <https://developers.google.com/google-ads/api/reference/rpc/v20/AssetFieldTypeEnum.AssetFieldType#ad_image>
> . 
>
> *3) If this is not supported by the API but allowed via UI, could you 
> explain the limitation or recommend any alternative?*
>
> 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 face any issues, 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=500Ht00001swd0YIAQ>
>   
>   [image: rating2] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=2&entry.295079254=500Ht00001swd0YIAQ>
>   
>   [image: rating3] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=3&entry.295079254=500Ht00001swd0YIAQ>
>   
>   [image: rating4] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=4&entry.295079254=500Ht00001swd0YIAQ>
>   
>   [image: rating5] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=5&entry.295079254=500Ht00001swd0YIAQ>
> [2025-07-24 12:05:27Z GMT] This message is in relation to case 
> "ref:!00D1U01174p.!500Ht01swd0Y:ref" (ADR-00320031)
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/2a4964f2-990f-4dfc-85ca-968499a84d80n%40googlegroups.com.
  • Cl... Amit Tomar
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Amit Tomar

Reply via email to