I m trying place ad on particular youtube video. Below is the api I m using

POST 
https://googleads.googleapis.com/v8/customers/8370730364/adGroupCriteria:mutate

req body:

{
"operations": [
{
"create":{
"type": "YOUTUBE_VIDEO",
"youtubeVideo": {
"videoId": "BLl32FvcdVM"
},
"adGroup": "customers/8370730364/adGroups/132983423888",
"negative":false
} 
}
],
"partialFailure": false,
"validateOnly": false,
"responseContentType": 0

}

but i m getting error: 

{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": 
"type.googleapis.com/google.ads.googleads.v8.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
}
]
}
}
],
"requestId": "Z7tNeu_1I7LBvgQnmyGzNA"
}
]
}
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a75c84dd-997a-455e-83cd-8db41ffca943n%40googlegroups.com.
  • no... ISMAIL TAIBANI
    • ... Google Ads API Forum Advisor
      • ... ISMAIL TAIBANI
      • ... ISMAIL TAIBANI
        • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
          • ... ISMAIL TAIBANI
            • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
              • ... ISMAIL TAIBANI
                • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
                • ... ISMAIL TAIBANI
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum

Reply via email to