GETTING COST AND CONVERSION VALUE FROM CANCELLED ACCOUNT

53 views
Skip to first unread message

RANDRIAMBAHINY Herizo

unread,
Mar 22, 2023, 7:17:04 AM3/22/23
to Google Ads API and AdWords API Forum
Hello,

I want to retrieve an history of the cost, conversion value per day of all account under an MCC.

I'm using the request below : 

"""
                SELECT
                    segments.hour,
                    segments.date,
                    metrics.cost_micros,
                    metrics.conversions_value,
                    customer.id
                FROM customer
                WHERE
                    segments.date >= '2023-01-01'
                    AND
                    segments.date <= '2023-03-22'
          """

I get only the report for all active account but not hidden or cancelled account.

"FaultMessage: The customer account can't be accessed because it is not yet enabled or has been deactivated."

Is there any way to get the data for those account?

Best regards,

Google Ads API Forum Advisor

unread,
Mar 22, 2023, 1:39:06 PM3/22/23
to titah...@gmail.com, adwor...@googlegroups.com

Hello,

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

I believe this is a normal behavior as the API usually returns error if the account has been deactivated. However, for us to investigate further on our end, kindly provide the complete request and response logs with request ID and request header generated on your end along with the uncropped screenshots of the data you want to retrieve in UI.

Note that these logs can be requested or provided to the developer handling the Google Ads API transactions when logging of the API requests has been enabled. You may check here and click your client library for the specific guideline to enable it.

For REST interface requests, you can enable logging via the curl command by using the -i flag. This will cause the tool to include the HTTP response headers in the output.

You may send this privately via "Reply to Author" option. If that option is not available to you, you may directly send it to this alias googleadsa...@google.com.

Regards,

Google Logo Google Ads API Team


ref:_00D1U1174p._5004Q2k1lAc:ref
Reply all
Reply to author
Forward
0 new messages