Hello, I am doing the migration from old google adwords API to new 
googleads v1.

I have one main MCC, under this I have 10 SubMcc and under each SubMcc I 
have a lot of accounts.

I am trying to make my first call to new API, and I have this problem.

---------------------- REQUEST ---------------------
Method: /google.ads.googleads.v1.services.GoogleAdsService/Search
Host: googleads.googleapis.com:443
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "XXXXXXXXXX",
  "x-goog-api-client": "gl-python/2.7.12 grpc/1.20.0 gax/1.9.0 gapic/1.3.1"
}
Request: {
  "query": "SELECT campaign.id, campaign.name FROM campaign ORDER BY 
campaign.id",
  "customerId": "YYYYYYYYYY",
  "pageSize": 1000
}

------------------ RESPONSE -------------------------
Headers: {
  "google.ads.googleads.v1.errors.googleadsfailure-bin": 
"\n:\n\u0002H\u0018\u00124The customer can't be used because it isn't 
enabled.",
  "grpc-status-details-bin": "\b\u0007\u0012#The caller does not have 
permission\u001a�\u0001\
nCtype.googleapis.com/google.ads.googleads.v1.errors.GoogleAdsFailure\u0012 
<http://nCtype.googleapis.com/google.ads.googleads.v1.errors.GoogleAdsFailure%5Cu0012><\n:\n\u0002H\u0018\u00124The
 
customer can't be used because it isn't enabled.",
  "request-id": "qQFoBtBELVA2yZuOY8dEvA"
}
Fault: {
  "errors": [
    {
      "errorCode": {
        "authorizationError": "CUSTOMER_NOT_ENABLED"
      },
      "message": "The customer can't be used because it isn't enabled."
    }
  ]
}

I chechk the google search console, and The api is enabled.

Any idea?

Thanks!!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/377cbdd5-be50-45f3-9750-a97063b1bc53%40googlegroups.com.

Reply via email to