Dear Google Ads API Support Team, Thank you for your response.
Please find below the full details, including the cURL request, headers, payload, and the response (including the request ID). You're welcome to use my credentials (e.g., customer ID, developer token) to reproduce the issue. If you require the access token as well, I’d be happy to share it securely. curl --location ' https://googleads.googleapis.com/v19/customers/6640200068/campaigns:mutate' \ --header 'developer-token: Ng_AFlh-l82KSwnUUVgAWg' \ --header 'login-customer-id: 6640200068' \ --header 'Content-Type: application/json' \ --header 'Authorization: ••••••' \ --data '{ "operations": [ { "create": { "name": "test campaign create", "advertisingChannelType": "SEARCH", "status": "PAUSED", "biddingStrategy": "customers/6640200068/biddingStrategies/11568776567", "campaignBudget": "customers/6640200068/campaignBudgets/14573279689" } } ] } *Reponse* { "error": { "code": 400, "message": "Request contains an invalid argument.", "status": "INVALID_ARGUMENT", "details": [ { "@type": " type.googleapis.com/google.ads.googleads.v19.errors.GoogleAdsFailure", "errors": [ { "errorCode": { "contextError": "OPERATION_NOT_PERMITTED_FOR_CONTEXT" }, "message": "The operation is not allowed for the given context.", "location": { "fieldPathElements": [ { "fieldName": "operations", "index": 0 } ] } } ], "requestId": "rO0h81P3Y0B4BEsVbWwqvw" } ] } } Looking forward to your guidance on resolving the issue. Best regards, *Abdullah* Laravel Developer, M5azn Saudi Arabia On Thu, May 15, 2025 at 8:14 AM Google Ads API Forum Advisor < adsapi@forumsupport.google> wrote: > Hi, > > Thank you for reaching out to the Google Ads API support team. > > I noticed that you are encountering the error > OPERATION_NOT_PERMITTED_FOR_CONTEXT, which usually indicates that the > action you're trying to perform isn't allowed for the type of account or > the specific context in which you're operating. > > After reviewing the logs of your API request. I have received a successful > response for the same request from my end. > > Therefore, I recommend that you retry your request. However, If your issue > still remains the same, please get back to us with the complete updated API > logs (*request* > <https://developers.google.com/google-ads/api/docs/concepts/field-service#request> > and* response* > <https://developers.google.com/google-ads/api/docs/concepts/field-service#response> > logs with* request-id* > <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id> > and* request header* > <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>) > generated at your end. > > If you are using a client library and haven't enabled the logging yet, I > would request you to enable logging for the specific client library that > you are using. You can refer to the guides *Java* > <https://developers.google.com/google-ads/api/docs/client-libs/java/logging>, > *.Net* > <https://developers.google.com/google-ads/api/docs/client-libs/dotnet/logging>, > *PHP* > <https://developers.google.com/google-ads/api/docs/client-libs/php/logging>, > *Python* > <https://developers.google.com/google-ads/api/docs/client-libs/python/logging>, > *Ruby* > <https://developers.google.com/google-ads/api/docs/client-libs/ruby/logging> > or *Perl* > <https://developers.google.com/google-ads/api/docs/client-libs/perl/logging> > to enable logging at your end. For REST interface requests, you can enable > logging via the curl command by using the -i flag. > > You can send the details via *Reply privately to the author option*, or > *direct > private reply* to this email. > > > Thanks, > > [image: Google Logo] Google Ads API Team > Feedback > How was our support today? > > [image: rating1] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=1&entry.295079254=500Ht00001qX4kWIAS> > [image: rating2] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=2&entry.295079254=500Ht00001qX4kWIAS> > [image: rating3] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=3&entry.295079254=500Ht00001qX4kWIAS> > [image: rating4] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=4&entry.295079254=500Ht00001qX4kWIAS> > [image: rating5] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=5&entry.295079254=500Ht00001qX4kWIAS> > [2025-05-15 05:14:22Z GMT] This message is in relation to case > "ref:!00D1U01174p.!500Ht01qX4kW:ref" (ADR-00305882) > > > -- Muhammad Talha Digital Marketing Manager mobile: +966 50 916 9303 e-mail: market...@m5azn.com address: M5azn - المخازن الإلكترونية, Anas Ibn Malik Rd, Alyasmin Riyadh www.m5azn.com [image: LinkedIn icon] <https://www.linkedin.com/company/m5azn-%D8%A7%D9%84%D9%85%D8%AE%D8%A7%D8%B2%D9%86-%D8%A7%D9%84%D8%A5%D9%84%D9%83%D8%AA%D8%B1%D9%88%D9%86%D9%8A%D8%A9> [image: Twitter icon] <https://twitter.com/m5azn_e> [image: Youtube icon] <https://www.youtube.com/channel/UCf4soK_H1PJRAfue0dVwOOQ> [image: Instagram icon] <https://www.instagram.com/m5azn_e> [image: Banner] <https://m5azn.com/> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/CANaUEBy%2BJ8otTwoi0%2B6PVSsiVrJgK8AzZraaiCOB-t5%3Droffng%40mail.gmail.com.