Headline asset handling

62 views
Skip to first unread message

Ajmal Sarkar

unread,
May 20, 2025, 6:28:31 PM5/20/25
to Google Ads API and AdWords API Forum

Hi Team,

I have a few questions regarding headline asset handling in the Google Ads API:

When creating a headline asset, is there any API or utility provided by Google Ads to associate the asset with a specific campaign and ad group?

Google Ads API Forum Advisor

unread,
May 21, 2025, 1:48:04 AM5/21/25
to ajmal7...@gmail.com, adwor...@googlegroups.com
Hi,

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

You can link assets to campaigns and ad groups using the methods customers.campaignAssets.mutate and customers.adGroupAssets.mutate , respectively. I would recommend you to check this Asset documentation for more information.

For campaign:
{
  "operations": [
    {
      "create": {
        "asset": "customers/{customerId}/assets/{asset_id}",
        "campaign": "customers/{customerId}/campaigns/{campaignId}",
        "fieldType": "HEADLINE",
        "status": "ENABLED"
      }
    }
  ]
}

For Ad group:
 
{
  "operations": [
    {
      "create": {
        "adGroup": "customers/{customerId}/adGroups/{adGroupId}",
        "asset": "customers/{customerId}/assets/{asset_id}",
        "fieldType": "HEADLINE",
        "status": "ENABLED"
      }
    }
  ]
}

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-05-21 05:46:44Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qXkhf:ref" (ADR-00307211)



Reply all
Reply to author
Forward
0 new messages