customer_client.status

340 views
Skip to first unread message

Eric Nagel

unread,
Sep 6, 2022, 1:39:57 PM9/6/22
to Google Ads API and AdWords API Forum
Why is customer_client.status always coming back as 2 ("ENABLED") for me? I'm pulling info from an account that I know is suspended, so I expect 4 ("SUSPENDED") but instead I'm getting 2.

Google Ads API Forum Advisor

unread,
Sep 6, 2022, 1:57:04 PM9/6/22
to er...@ericnagel.com, adwor...@googlegroups.com
Hi Eric,

Thank you for raising this concern to the Google Ads API Forum.

To further investigate this, could you please provide more information where we can see this ("ENABLED")  and ("SUSPENDED") in customer_client.status, are you referring to the Google Ads API and Google Ads UI discrepancy? If yes, then you can provide us with the Google Ads UI. Also, it would be helpful to us if you can provide the complete API logs within the format of request and response logs with the request-id that generated on your end. 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. This information will help our team to better check this issue. 

For privacy purposes, you can provide it via the Reply privately to author option. If this option is not available, then send it instead on this email address googleadsapi-support@google.com.

Best regards,
Google Logo
Jinky
Google Ads API Team
 


ref:_00D1U1174p._5004Q2dvwIU:ref

Google Ads API Forum Advisor

unread,
Sep 8, 2022, 10:01:22 AM9/8/22
to er...@ericnagel.com, adwor...@googlegroups.com
Hi Eric,

Thank you for reaching out to us.

For our team to further investigate this, could you please provide us with the complete API logs (request and response with request-id) generated on your end and the whole Google Ads UI where you can see the data that you are expecting to retrieve in the API?

You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Best regards,
Google Logo
Heidi
Google Ads API Team
 


ref:_00D1U1174p._5004Q2dwij9:ref

Eric Nagel

unread,
Sep 8, 2022, 10:27:14 AM9/8/22
to Google Ads API and AdWords API Forum
Hello - trying to get the logs led me down a rabbit hole, which I'm still heading down. We use rest transport, which doesn't support logging. So I either need to install and convert my code to use gRPC or figure out another way to get you the logs. 

Google Ads API Forum Advisor

unread,
Sep 8, 2022, 10:35:27 AM9/8/22
to er...@ericnagel.com, adwor...@googlegroups.com
Hi Eric,

Thank you for telling us this, you can use curl and use the '-i' or '-v'parameter to generate a response log, the multi line curl command is already a request log, no need to go down rabbit holes. 

Here's a template:
curl -v    "https://googleads.googleapis.com/v11/customers/CUSTOMER_ID_PLACEHOLDER/googleAds:search" \
--header "Content-Type: application/json" \
--header "login-customer-id: LOGIN_CUSTOMER_ID_PLACEHOLDER" \
--header "developer-token: DEVELOPER_TOKEN_PLACEHOLDER" \
--header "Authorization: Bearer ACCESS_TOKEN_PLACEHOLDER" \
--data '{
"query": "
SELECT shopping_performance_view.resource_name FROM shopping_performance_view PARAMETERS include_drafts=true
"
 , "returnTotalResultsCount": true 
, "summaryRowSetting": "SUMMARY_ROW_WITH_RESULTS"
,  "pageToken": ""
,  "pageSize": "10000"
}'

Here's our Generating new access tokens guide.

Regards,
 

Google Logo
Aryeh
Google Ads API Team
 


ref:_00D1U1174p._5004Q2dwij9:ref

Eric Nagel

unread,
Jun 14, 2023, 11:14:21 AM6/14/23
to Google Ads API and AdWords API Forum
Putting this out there publicly, but I sent further details in private: 9 months later, and this bug still exists. All customer clients are coming back as enabled, even suspended ones.

Google Ads API Forum Advisor

unread,
Jun 14, 2023, 11:28:07 AM6/14/23
to er...@ericnagel.com, adwor...@googlegroups.com
A solution has been crafted and and is going through the approval process. I can't provide an ETA, but my best guess is it will be pushed to production within the next 6-8 weeks.
 
This message is in relation to case "ref:_00D1U1174p._5004Q2dwij9:ref"

Thanks,
 
Google Logo
Bob Hancock
Google Ads API Team


Google Ads API Forum Advisor

unread,
Jul 20, 2023, 2:35:09 PM7/20/23
to er...@ericnagel.com, adwor...@googlegroups.com
The fix has been scheduled for the v15 release which should be around the middle of October. Check https://developers.google.com/google-ads/api/docs/sunset-dates for updates on the date.
Reply all
Reply to author
Forward
0 new messages