I am using the newly introduced (v18) AssetAutomationSetting 
<https://developers.google.com/google-ads/api/rest/reference/rest/v18/Campaign#AssetAutomationSetting>.
 
This allows for opting out 
from: GENERATE_VERTICAL_YOUTUBE_VIDEOS, GENERATE_SHORTER_YOUTUBE_VIDEOS, 
however when these attributes are passed in bulk mutate request we are 
getting ENUM_VALUE_NOT_PERMITTED.

Also this works well with the TEXT_ASSET_AUTOMATION attribute.

Complete request
{
    "campaignOperation": {
    "create": {
        "resourceName": "customers/{{GOOGLE_ADS_CUSTOMER_ID}}/campaigns/-1",
        "name": "pmax campaign without automated ads",
        "advertisingChannelType": "PERFORMANCE_MAX",
        "status": "PAUSED",
        "campaign_budget": 
"customers/{{GOOGLE_ADS_CUSTOMER_ID}}/campaignBudgets/-2",
        "start_date": "20250901",
        "end_date": "20250929",
        "maximizeConversions": {
        "targetCpaMicros": "500000"
        },
        "listingType": "VEHICLES",
        "urlExpansionOptOut": "true",
        "shoppingSetting": {
        "merchantId": {{DEALER_MERCHANT_CENTER_ID}},
        "feedLabel": "US",
        "enableLocal": "true"
        },
        "assetAutomationSettings": [{
            "assetAutomationType": "TEXT_ASSET_AUTOMATION",
            "assetAutomationStatus": "OPTED_OUT"
        },
        {
            "assetAutomationType": "GENERATE_VERTICAL_YOUTUBE_VIDEOS",
            "assetAutomationStatus": "OPTED_OUT"
        },
        {
            "assetAutomationType": "GENERATE_SHORTER_YOUTUBE_VIDEOS",
            "assetAutomationStatus": "OPTED_OUT"
        }
        ]
    }
    }
}

On Tuesday 26 September 2023 at 01:05:44 UTC+5:30 Google Ads API Forum 
Advisor wrote:

> Currently, you can only opt in or out via the UI. In a future release you 
> will be able use the API to report on whether system create created assets 
> are enabled for a campaign and you will be able to filter by system created 
> vs user supplied. I don't have an exact timeline.
>
> Each release of our API contains a release notes list at 
> https://developers.google.com/google-ads/api/docs/release-notes. When 
> this functionality is available, it will be listed there.
>
> For future reference, you will frequently see new functionality introduced 
> in the UI first, and only when it is determined that it is to be a long 
> term feature is it incorporated into the API.
>
>   
> This message is in relation to case "ref:_00D1U1174p._5004Q2n8hFW:ref"
>
> Thanks,
>   
> [image: Google Logo] 
> Bob Hancock 
> Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/2b1fbbae-fdc8-44b5-9d32-5be6e805d6c6n%40googlegroups.com.
  • Re... Susmit Kumar Mishra
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Ramanajee
      • ... Pete Lavetsky (AdWords API Guru)
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... Amit Tomar
            • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
              • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to