Hi,
Thank you for reaching out to the Google Ads API support team.
Based on the provided information, I understand that you are looking for guidance on Google Ads API to manage your campaigns and utilize the AI Max features, specifically Text Asset Automation and Final URL Expansion. First, you must enable AI Max for your campaign by setting the
ai_max_setting.enable_ai_max field to true. If you try to enable any of the other AI Max features without doing this first, you will get a
CampaignError.AI_MAX_MUST_BE_ENABLED error.
After enabling AI Max, you can manage both Text Asset Automation and Final URL Expansion through the
AssetAutomationTypeEnum. These two features are managed together by a single setting.
Here's how each setting works:
- FINAL_URL_EXPANSION_TEXT_ASSET_AUTOMATION controls the automation of both dynamic landing pages and text assets created from the content of those pages. This setting is only for Search campaigns, and you are opted out by default.
- TEXT_ASSET_AUTOMATION manages the automation of headlines and descriptions. For Performance Max campaigns, you are opted in by default, while for Search campaigns, you are opted out by default.
I can confirm that your understanding is correct. If you want to opt in for Text Customization only, you should use `AssetAutomationSetting` of type `TEXT_ASSET_AUTOMATION` and set `AssetAutomationStatus` to `OPTED_IN`.
And if you want to opt in for Final URL Expansion, since Text Customization is a prerequisite for Final URL Expansion, you should use `AssetAutomationSetting` of type `FINAL_URL_EXPANSION_TEXT_ASSET_AUTOMATION` and set `AssetAutomationStatus` to `OPTED_IN`.
Hope this helps. If you have any more queries, please feel free to get back to us.
Regards,
Google Ads API Team.