Im using a test google ads account, I managed to make get_campaigns API 
request using the google-ads-python repository examples 
(https://github.com/googleads/google-ads-python/tree/master)

But when trying to add campaign using the script 
(https://developers.google.com/google-ads/api/docs/campaigns/create-campaigns) 
i get the following errors:


google.ads.google_ads.errors.GoogleAdsException(<_Rendezvous of RPC that 
terminated with:

                                                        status = StatusCode.
INVALID_ARGUMENT

                                                        details = "Request 
contains an invalid argument."

                                                        debug_error_string = 
"{"created":"@1569844148.467055000","description":"Error received from peer 
ipv4:216.58.213.106:443","file":"src/core/lib/surface/call.cc","file_line
":1055,"grpc_message":"Request contains an invalid argument.","grpc_status
":3}"

                                                >,

                                                <_Rendezvous of RPC that 
terminated with:

                                                        status = StatusCode.
INVALID_ARGUMENT

                                                        details = "Request 
contains an invalid argument."

                                                        debug_error_string = 
"{"created":"@1569844148.467055000","description":"Error received from peer 
ipv4:216.58.213.106:443","file":"src/core/lib/surface/call.cc","file_line
":1055,"grpc_message":"Request contains an invalid argument.","grpc_status
":3}"

                                                >,

                                                errors {

                                                  error_code {

                                                    
operation_access_denied_error: CREATE_OPERATION_NOT_PERMITTED

                                                  }

                                                  message: "Unauthorized 
CREATE operation in invoking a service\'s mutate method."

                                                  trigger {

                                                    string_value: ""

                                                  }

                                                  location {

                                                    field_path_elements {

                                                      field_name: 
"operations"

                                                      index {

                                                      }

                                                    }

                                                  }

                                                },

                                                'jBmzUcpq5IFP1R7Ig9B-gw')

My test account access level is admin. i cant see why is this happening?

thanks y'all!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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 on the web visit 
https://groups.google.com/d/msgid/adwords-api/db603ebe-c0d4-4e0a-b693-d71393c73c58%40googlegroups.com.

Reply via email to