Hi, 

I am currently getting an error trying to run the unchanged Python demo for 
`add_campaigns.py`, specifically in line 49 when trying to specify the 
campaign budget. 
(https://github.com/googleads/google-ads-python/blob/main/examples/basic_operations/add_campaigns.py#L49)

Could this be related to trying to use the wrong type of account (i.e. 
manager account vs. client account)? Or to insufficient funds being 
allocated to the account?

Thank you very much!

Here is the error response:

(<_InactiveRpcError of RPC that terminated with:
status = StatusCode.INVALID_ARGUMENT
details = "Request contains an invalid argument."
debug_error_string = "UNKNOWN:Error received from peer 
ipv4:142.251.208.106:443 
{created_time:"2023-06-28T10:39:27.303527057+02:00", grpc_status:3, 
grpc_message:"Request contains an invalid argument."}"
>, <_InactiveRpcError of RPC that terminated with:
status = StatusCode.INVALID_ARGUMENT
details = "Request contains an invalid argument."
debug_error_string = "UNKNOWN:Error received from peer 
ipv4:142.251.208.106:443 
{created_time:"2023-06-28T10:39:27.303527057+02:00", grpc_status:3, 
grpc_message:"Request contains an invalid argument."}"
>, errors {
  error_code {
    context_error: OPERATION_NOT_PERMITTED_FOR_CONTEXT
  }
  message: "The operation is not allowed for the given context."
  location {
    field_path_elements {
      field_name: "operations"
      index: 0
    }
  }
}
request_id: "fhNCjYqn53q4wK_YM9hdLA"
, 'fhNCjYqn53q4wK_YM9hdLA')

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/06474bd4-74f9-4ce6-bcaa-d372e9f0e572n%40googlegroups.com.

Reply via email to