INVALID_CUSTOMER_ID with migrated Google Ads Api

83 views
Skip to first unread message

Gabriel Viviani

unread,
Apr 27, 2022, 2:24:52 PM4/27/22
to Google Ads API and AdWords API Forum
We had recently deployed to production our migrated version of AdWordsAPI to Google Ads API.
Campaign creation flow with budget adgroups and so on was written of course following docs and library examples code.

Thing is earlier after migrating we got and
 error_code {
    request_error: INVALID_CUSTOMER_ID
  }

When publishing a new campaign with its assets and so on.

Weird thing was we had two campaigns and one of them was published normally and the other a simple retry could make it.

I'd like to know if it's due some possible instability on the service or this is a clue of we doing something wrong on our side and have something to deal with:

"The legacy AdWords API sunset deadline passed on April 27, 2022, and the API is shutting down permanently. Errors will be thrown at a rate of 25% until the end of May, increasing to 100% thereafter. "

RequestID: 2gLl_7GwBi9RGwBCO4dWVg

Google Ads API Forum Advisor

unread,
Apr 28, 2022, 9:56:31 AM4/28/22
to gabriel...@nanos.ai, adwor...@googlegroups.com
Hi Gabriel,

Thank you for reaching out to the Google Ads API support team.

To investigate the issue further, could you please provide the complete request and response logs, with the request-id?

If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link. You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Thanks,
Google Logo
Nirmita
Google Ads API Team
 


ref:_00D1U1174p._5004Q2aODsS:ref

Gabriel Viviani

unread,
Apr 29, 2022, 9:43:29 AM4/29/22
to ads...@forumsupport.google, adwor...@googlegroups.com
WARNING:google.ads.googleads.client:Request made: ClientCustomerId: HIDDEN, Host: googleads.googleapis.com, Method: /google.ads.googleads.v9.services.AdGroupAdService/MutateAdGroupAds, RequestId: 2gLl_7GwBi9RGwBCO4dWVg, IsFault: True, FaultMessage: Invalid customer ID 'HIDDEN'.
[2022-04-27 08:03:45,714] ERROR in ad_service: (<_InactiveRpcError of RPC that terminated with:
  status = StatusCode.INVALID_ARGUMENT
  details = "Request contains an invalid argument."
  debug_error_string = "{"created":"@1651046625.518481041","description":"Error received from peer ipv4:","file":"src/core/lib/surface/call.cc","file_line":1074,"grpc_message":"Request contains an invalid argument.","grpc_status":3}"
>, <_InactiveRpcError of RPC that terminated with:
  status = StatusCode.INVALID_ARGUMENT
  details = "Request contains an invalid argument."
  debug_error_string = "{"created":"@1651046625.518481041","description":"Error received from peer ipv4:","file":"src/core/lib/surface/call.cc","file_line":1074,"grpc_message":"Request contains an invalid argument.","grpc_status":3}"
>, errors {
  error_code {
    request_error: INVALID_CUSTOMER_ID
  }
  message: "Invalid customer ID \'HIDDEN\'."
  location {
    field_path_elements {
      field_name: "operations"
      index: 0
    }
    field_path_elements {
      field_name: "create"
    }
    field_path_elements {
      field_name: "ad_group"
    }
  }
}
request_id: "2gLl_7GwBi9RGwBCO4dWVg"
, '2gLl_7GwBi9RGwBCO4dWVg')
ERROR:adwords.app_factory:(<_InactiveRpcError of RPC that terminated with:
  status = StatusCode.INVALID_ARGUMENT
  details = "Request contains an invalid argument."
  debug_error_string = "{"created":"@1651046625.518481041","description":"Error received from peer ipv4:","file":"src/core/lib/surface/call.cc","file_line":1074,"grpc_message":"Request contains an invalid argument.","grpc_status":3}"
>, <_InactiveRpcError of RPC that terminated with:
  status = StatusCode.INVALID_ARGUMENT
  details = "Request contains an invalid argument."
  debug_error_string = "{"created":"@1651046625.518481041","description":"Error received from peer ipv4:","file":"src/core/lib/surface/call.cc","file_line":1074,"grpc_message":"Request contains an invalid argument.","grpc_status":3}"
>, errors {
  error_code {
    request_error: INVALID_CUSTOMER_ID
  }
  message: "Invalid customer ID \'HIDDEN\'."
  location {
    field_path_elements {
      field_name: "operations"
      index: 0
    }
    field_path_elements {
      field_name: "create"
    }
    field_path_elements {
      field_name: "ad_group"
    }
  }
}
request_id: "2gLl_7GwBi9RGwBCO4dWVg"
, '2gLl_7GwBi9RGwBCO4dWVg')
[2022-04-27 08:03:45,716] ERROR in adwords_service: Error creating Google Ads campaign for 626886da160cfd0018f84d3d
ERROR:adwords.app_factory:Error creating Google Ads campaign for 626886da160cfd0018f84d3d


  • Unfortunately I can't provide a complete request description.
  • What I MOST would like to know if that could be related to some instability on google side due to version changes and if that might happen again. (We've been publishing other campaigns but error was not there)
Reply all
Reply to author
Forward
0 new messages