Dynamic text asset cannot be opted out when final URL expansion is opted in.

22 views
Skip to first unread message

余金涛

unread,
Apr 8, 2025, 6:42:00 AM4/8/25
to adwords-api, ads-api-support

Hi,

I'm following this instruction to create a performance max campaign -> https://developers.google.cn/google-ads/api/rest/reference/rest/v19/AssetAutomationType

But there was a problem when we turned off TET-ASSED_AUTOMATION:
error:
{
    "error": {
        "code": 400,
        "message": "Request contains an invalid argument.",
        "status": "INVALID_ARGUMENT",
        "details": [
            {
                "errors": [
                    {
                        "errorCode": {
                            "campaignError": "DYNAMIC_TEXT_ASSET_CANNOT_OPT_OUT_WITH_FINAL_URL_EXPANSION_OPT_IN"
                        },
                        "message": "Dynamic text asset cannot be opted out when final URL expansion is opted in.",
                        "location": {
                            "fieldPathElements": [
                                {
                                    "fieldName": "operations",
                                    "index": 0
                                }
                            ]
                        }
                    }
                ],
                "requestId": "imAQSOp4pF9RtvLGL8Gn8w"
            }
        ]
    }
}

We have confirmed that we have reviewed it https://developers.google.com/google-ads/api/performance-max/assets Document,
not associated with CampaignAssetSet. Is there any way to close it
  • Automatically created assets
    • Text assets
    • Final URL
Thanks
 
01013500@A71E2100.8BD0F467.png

Google Ads API Forum Advisor

unread,
Apr 8, 2025, 10:58:47 AM4/8/25
to jta...@foxmail.com, ads-api...@amazon.com, adwor...@googlegroups.com

Hi,

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

I noticed that you are encountering "DYNAMIC_TEXT_ASSET_CANNOT_OPT_OUT_WITH_FINAL_URL_EXPANSION_OPT_IN" error while creating your Performance Max campaign.

Based on the logs provided, I am able to create the campaign successfully when the assetAutomationStatus within assetAutomationSettings was set to OPTED_IN. Therefore, to resolve this issue and successfully create your Performance Max campaign, I recommend setting the assetAutomationStatus to OPTED_IN. Please try updating your campaign creation request with this change and let us know if you encounter any further issues.


Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-04-08 14:58:00Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01pS8vt:ref" (ADR-00298974)



Reply all
Reply to author
Forward
0 new messages