Can you you please tell us the way of setting Target CPA in the campaign.

On Wednesday, January 10, 2024 at 4:38:09 PM UTC+5:30 Google Ads API Forum 
Advisor wrote:

> Hi Pranav,
>
> Thank you for getting back to us.
>
> Based on the provided information, I can see that you encountered the 
> *OPERATION_NOT_PERMITTED_FOR_CONTEXT* 
> <https://developers.google.com/google-ads/api/reference/rpc/v14/ContextErrorEnum.ContextError#operation_not_permitted_for_context>
>  error. 
> This means that the operation is not allowed for the given context.  Please 
> note that creating a campaign budget should be done on a *client account 
> only* and not on a manager account. 
>
> If you are still encountering an error, kindly provide us with the 
> complete 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>
>  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 to assist you better.
>
> 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.
>
>   
> This message is in relation to case "ref:!00D1U01174p.!5004Q02rVlSi:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/57324760-4588-452b-84b8-149aacee7e1bn%40googlegroups.com.
  • Re... Pranav Kumar
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Pranav Kumar
        • ... Pranav Kumar

Reply via email to