Dear Google Ads API Support Team,

I am reaching out to request assistance with an issue I'm encountering 
while creating a *YouTube campaign* using the *Google Ads API*. Below is 
the request data I am using to create the campaign:
{
  "start_date": "2025-01-15",
  "end_date": "2025-02-15",
  "name": "T ef e4",
  "status": "PAUSED",
  "advertising_channel_type": "VIDEO",
  "campaign_budget": "customers/5522941096/campaignBudgets/14233235654",
  "bidding_strategy": "customers/5522941096/biddingStrategies/11402151791",
  "network_settings": {
    "target_google_search": false,
    "target_search_network": false,
    "target_youtube_search": false,
    "target_youtube_watch": true
  }
}
  *Error Response:*
{
    "message": "Failed to create campaign.",
    "details": {
        "errors": [
            {
                "error_code": {
                    "context_error": "OPERATION_NOT_PERMITTED_FOR_CONTEXT"
                },
                "message": "The operation is not allowed for the given 
context.",
                "trigger": {
                    "int64_value": "11402151791"
                },
                "location": {
                    "field_path_elements": [
                        {
                            "field_name": "operations",
                            "index": 0
                        },
                        {
                            "field_name": "create"
                        },
                        {
                            "field_name": "bidding_strategy"
                        }
                    ]
                }
            },
            {
                "error_code": {
                    "mutate_error": "MUTATE_NOT_ALLOWED"
                },
                "message": "Mutates are not allowed for the requested 
resource.",
                "trigger": {
                    "string_value": "VIDEO"
                },
                "location": {
                    "field_path_elements": [
                        {
                            "field_name": "operations",
                            "index": 0
                        }
                    ]
                }
            }
        ],
        "request_id": "1jCeFjzGuojHUvZMwY78sw"
    }
}
*Issue Summary*

The error seems to be related to the *bidding strategy* and the *advertising 
channel type* set to VIDEO. Specifically:

   1. 
   
   *OPERATION_NOT_PERMITTED_FOR_CONTEXT*
   - Triggered by the *bidding strategy* in the request.
   2. 
   
   *MUTATE_NOT_ALLOWED*
   - Related to the *campaign type* set as VIDEO.
   
I am following the documentation for creating a *YouTube video campaign*, 
but the API does not seem to accept the request as expected.

Could you please clarify if there are specific restrictions for the *bidding 
strategy* or if there is a different approach I should take to successfully 
create a *YouTube campaign*?

Thank you for your time and assistance. I look forward to your guidance on 
resolving this issue.

Best regards,
Alaa Al-Midani

a...@overzaki.com <https://groups.google.com/>
Overzaki Group 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ff9a9ccb-6a16-4618-8cfb-56d5edd1be82n%40googlegroups.com.
  • Er... Alaa Almedane
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
    • ... Alaa Almedane

Reply via email to