Clarification on Image Asset Support for Search Campaign Ads via API

34 views
Skip to first unread message

Amit Tomar

unread,
Jul 30, 2025, 5:46:09 AMJul 30
to Google Ads API and AdWords API Forum

Dear Team,

I was reviewing the Asset types linked to ads documentation, where it appears that image assets can only be linked to App and Display campaigns.

However, when I create a Search campaign via the UI and proceed to create ads under it, I notice that the option to upload an image is available.
Could you please confirm whether linking image assets to ads in Search campaigns is supported at the API level as well?

Looking forward to your clarification.

Best regards,
Amit Tomar

Google Ads API Forum Advisor

unread,
Jul 30, 2025, 11:47:15 AMJul 30
to amittomar...@gmail.com, adwor...@googlegroups.com
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.

First you need to create image asset using the AssetService , 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. 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 and response with request-id and request header) 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.NetPHPPythonRuby or Perl 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,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-07-30 15:46:05Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01sxDeV:ref" (ADR-00321200)



Amit Tomar

unread,
Jul 31, 2025, 10:05:14 AMJul 31
to Google Ads API and AdWords API Forum

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


Google Ads API Forum Advisor

unread,
Jul 31, 2025, 3:51:02 PMJul 31
to amittomar...@gmail.com, adwor...@googlegroups.com
Hi Amit,

Can you confirm whether you are trying to add the image assets to the search campaign ads specifically for the responsive search ads within search campaigns using the Google Ads API? If so, kindly note that the Google Ads API currently does not support adding image assets to ResponsiveSearchAdInfo. The API's functionality for responsive search ads is limited to text assets like headlines and descriptions. Since you mentioned that you were able to add image assets to search campaign ads in the Google Ads UI, could you please provide an uncropped screenshot of your Google Ads account (with visible customer ID), highlighting where you were able to attach these images?


You can send the details via Reply privately to the author option, or direct private reply to this email.
 

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-07-31 19:50:01Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01sxDeV:ref" (ADR-00321200)



Reply all
Reply to author
Forward
0 new messages