How to Set Business Name in Google Ads Responsive Search Ad?

44 views
Skip to first unread message

dhrutish ramoliya

unread,
Feb 21, 2025, 7:44:01 AMFeb 21
to Google Ads API and AdWords API Forum
I would like to add a business name field (e.g., "MyBusiness") to display in the ad. How can I do this via the API? Is there an Ad Asset or Ad Parameter that supports business names?

Code Snippet: 
$ad = new Ad([
    'responsive_search_ad' => new ResponsiveSearchAdInfo([
        'headlines' => [
            new AdTextAsset(['text' => 'Best Deals for You']),
            new AdTextAsset(['text' => 'Quality Products Available']),
        ],
        'descriptions' => [
            new AdTextAsset(['text' => 'Shop now and get discounts']),
            new AdTextAsset(['text' => 'Fast delivery and secure payment']),
        ],
    ]),
    'final_urls' => ['https://www.example.com'],
]);

Google Ads API Forum Advisor

unread,
Feb 21, 2025, 11:18:23 AMFeb 21
to dhrutish...@gmail.com, adwor...@googlegroups.com
Hi,

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

Based on the information provided, I understand that you are looking for guidance to set the business names in Google Ads responsive search ads using the Google Ads API. Usually the ads can be created using the adGroupAds method in the Google Ads API. I would recommend you to refer to the 'ResponsiveSearchAdInfo' guide which clearly explains to you what fields it is supported while creating the ads using the API. This responsive search ad supports only the headlines and descriptions to add but it doesn't support the business names to add while creating the ads using the Google Ads API. I would also suggest you to refer to this help center article 'About responsive search ads' for more information. 

I hope this clarifies. 
 

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-02-21 16:17:44Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vH382:ref" (ADR-00289191)



Reply all
Reply to author
Forward
0 new messages