RE: error while creating youtube campaign using google ads api

29 views
Skip to first unread message

Google Ads API Forum Advisor

unread,
Jan 14, 2025, 9:58:49 PM1/14/25
to alaaal...@gmail.com, adwor...@googlegroups.com
Hi Alaa,

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

Please be informed that I have removed your response from the forums as it contains the PII information.

With regard to the 'MUTATE_NOT_ALLOWED' error while creating a video campaign, note that not all campaign types in the Google Ads UI are supported in the API, such as 'Video Campaigns'. Video campaigns must be created using the UI. The Google Ads API permits only reporting of video ads. Video campaign metrics are available for retrieval in the API. Also, video campaigns cannot be mutated at all from the API, including simple operations such as pausing or enabling as well as complex operations like organizing, changing criteria, or adding ad groups. I would recommend you refer to this Help Center article on 'create a video campaign' that guides you through the process of creating a video campaign via the UI.

The 'OPERATION_NOT_PERMITTED_FOR_CONTEXT' error means that the operation is not allowed for the given context. The common cause for this error is using the bidding strategy with a campaign type that is not supported in the API. So, as informed above, you may use the Google Ads UI to create the video campaigns.

I hope this clarifies.

 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGvlk:ref" (ADR-00284364)

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5



Google Ads API Forum Advisor

unread,
Jan 15, 2025, 12:15:13 PM1/15/25
to alaaal...@gmail.com, adwor...@googlegroups.com
Hi,

Please be informed that I have removed your response from the forums as it contains the PII information.

As mentioned earlier, video campaigns cannot be mutated at all from the API, including simple operations such as pausing or enabling as well as complex operations like organizing, changing criteria, or adding ad groups. I would recommend you refer to this help center article on 'create a video campaign' that guides you through the process of creating a video campaign via the UI. There is no way or workaround to create the video campaigns using the Google Ads API. I would recommend you to refer to this guide for more detailed information. The Google Ads API permits only reporting of video ads. Video campaigns must be created using the UI or Google Ads scripts. You can refer to the Ad type compatibility guide as it describes what types of campaigns and ads are supported from the Google Ads API.
Reply all
Reply to author
Forward
0 new messages