Empty field descriptive_name

69 views
Skip to first unread message

Lucas Oliveira

unread,
Jan 25, 2023, 12:06:39 AM1/25/23
to Google Ads API and AdWords API Forum
Hello

I'm requesting my customer/account informations using the GoogleAdsService as below.
The response given sometimes has the field descriptive_name empty. I others fields about this customer_id are returning fine.

Could you help me with this issue?


ga_client = GoogleAdsClient.load_from_dict(google_credentials)
ga_service = ga_client.get_service(
                "GoogleAdsService",
                version='v10'
            )
query_customer = """
        SELECT
        customer_client.client_customer,
        customer_client.level,
        customer_client.manager,
        customer_client.descriptive_name,
        customer_client.currency_code,
        customer_client.time_zone,
        customer_client.id,
        customer_client.status
        FROM customer_client
        WHERE customer_client.manager = False and customer_client.status = ENABLED
    """

response = ga_service.search(
                        query=query_customer
                        ,customer_id=str(customer_id)
                    )

Google Ads API Forum Advisor

unread,
Jan 25, 2023, 4:07:31 AM1/25/23
to l.oli...@ds3x.com.br, adwor...@googlegroups.com
Hi Lucas,

Thank you for reaching out to Google Ads API Support.

I understand that you are seeing empty value being returned in descriptive_name from your query. However, to take a closer look and to impersonate the issue you are reporting, could you please provide us with the complete request and response logs with the request-id generated on your end when you encountered the said issue? You may then send the requested logs 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.

Additionally, you may enable logging so you’ll get complete request and response logs along with request-id by navigating to the Client libraries > Your client library (ex Python) > Logging documentation, which you can access from this link.

I also noticed that you are still using the older, deprecated v10 of the Google Ads API. Please note that as per this blog post, v10 is already deprecated and will sunset by February 1, 2023. After the sunset date, all v10 API requests will begin to fail. We highly recommend to please migrate to a newer version prior to February 1, 2023 to ensure your API access is unaffected, using the upgrade guide.

Regards,
Google Logo
Abigail
Google Ads API Team
 


ref:_00D1U1174p._5004Q2iNTFH:ref

Lucas Oliveira

unread,
Jan 26, 2023, 11:59:10 AM1/26/23
to Google Ads API and AdWords API Forum
Hello guys,

Updating the conversation in case of someone face a similar problem:
Some of my accounts are in Smart Mode wich means those accounts doesn't have a name on Google Ads UI also.

Thank you API team

Regards

Reply all
Reply to author
Forward
0 new messages