Hello,
I'm trying to create a video campaign using the Google Ads API, based on the documentation for Campaigns in version 13: https://developers.google.com/google-ads/api/reference/rpc/v13/Campaign. I'm also referencing the video channel type documentation here: https://developers.google.com/google-ads/api/reference/rpc/v13/AdvertisingChannelTypeEnum.AdvertisingChannelType.
However, when I try to create my campaign, I'm encountering an error.
{
"message": "Request contains an invalid argument.",
"code": 3,
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "type.googleapis.com\/google.ads.googleads.v13.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"mutateError": "MUTATE_NOT_ALLOWED"
},
"message": "Mutates are not allowed for the requested resource.",
"trigger": {
"stringValue": "VIDEO"
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": 0
}
]
}
},
{
"errorCode": {
"contextError": "OPERATION_NOT_PERMITTED_FOR_CONTEXT"
},
"message": "The operation is not allowed for the given context.",
"trigger": {
"stringValue": "MANUAL_CPC"
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": 0
},
{
"fieldName": "create"
},
{
"fieldName": "manual_cpc"
}
]
}
}
],
"requestId": "vyH2QzTeEcbk6SNicNHJrA"
}
]
}
My Code is
![]() |
Google Ads API Team |
Hello!
Thank you for your quick reply. I would like to confirm if it is possible to create a Responsive Display Ad ('advertising_channel_type' => AdvertisingChannelType::DISPLAY) using the Google Ads API.
If yes, I would also like to know the limitations on the Responsive Display Ad that can be created using the Google Ads API.
It would be great if you could provide me with this information.
Thank you!
Hi,
Thanks for getting back to us.
Upon checking this guide (https://developers.google.com/google-ads/api/docs/ads/ad-types#ad_type_compatibility) Responsive Display Ad is mutable in Google Ads API.
You may refer to this guide (https://developers.google.com/google-ads/api/docs/responsive-display-ads/overview) about Responsive Display Ads overview and this guide (https://developers.google.com/google-ads/api/docs/responsive-display-ads/create-responsive-display-ads) about Creating Responsive Display Ads together with its ad creation specifications.
Let me know if you have further questions related to Google Ads API.
Regards,