Hi,
I follow this 
document: 
https://developers.google.com/google-ads/api/docs/conversions/create-conversion-actions?hl=en

here is request & response:

-------
MethodName: 
google.ads.googleads.v10.services.ConversionActionService/MutateConversionActions
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=4662483752, 
x-goog-api-client=gl-java/1.8.0_181 gccl/18.0.0 gapic/18.0.0 gax/2.6.1 
grpc/1.41.0}
Body: customer_id: "1735911398"
operations {
  create {
    status: ENABLED
    category: PURCHASE
    value_settings {
      default_value: 1234.0
      default_currency_code: "INR"
      always_use_default_value: true
    }
    name: "martin conversion 111 66 aw postman"
    click_through_lookback_window_days: 24
    view_through_lookback_window_days: 25
  }
}


Response
--------
Headers: 
Metadata(content-type=application/grpc,request-id=T9BiIrbvLAxxlfqtCKsgsw,date=Mon,
 
09 May 2022 07:49:12 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; 
ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; 
ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43")
Body: null
Failure message: errors {
  error_code {
    authorization_error: USER_PERMISSION_DENIED
  }
  message: "User doesn\'t have permission to access customer. Note: If 
you\'re accessing a client customer, the manager\'s customer id must be set 
in the \'login-customer-id\' header. See 
https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid";
}
request_id: "T9BiIrbvLAxxlfqtCKsgsw"

Status: Status{code=PERMISSION_DENIED, description=The caller does not have 
permission, cause=null}.
---------
Customer "4662483752" is direct parent of customer id "1735911398".

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 on the web visit 
https://groups.google.com/d/msgid/adwords-api/c13d685d-a3df-4abe-9e8e-5a563090f3f4n%40googlegroups.com.

Reply via email to