ad_group_ad.labels field being empty when Google Ads UI shows Ad Label set

90 views
Skip to first unread message

Oksana Sulyma

unread,
Oct 23, 2023, 9:32:19 AM10/23/23
to Google Ads API and AdWords API Forum
Hi Google Ads API support team!

We experience the next problem. When we pull ad_group_ad we get empty ad_group_ad.labels field value. In the same time label is shown in Google Ads UI. 
Could there be a reason for this? Will be happy to send request / response detail and Google Ads UI screenshot in private messaging!

Thanks,
Oksana

Oksana Sulyma

unread,
Oct 25, 2023, 9:43:23 AM10/25/23
to Google Ads API and AdWords API Forum
Hi Google Ads API team! Just wanted to update that my question is still valid. Will appreciate any feedback. 
Thanks,
Oksana

Google Ads API Forum Advisor

unread,
Oct 26, 2023, 3:00:43 AM10/26/23
to adwor...@googlegroups.com
Hi Oksana,

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

By reviewing your query, I understand that you are trying to pull ad_group_ad and getting an empty ad_group_ad.labels field value.

In order to investigate your issue, kindly provide us with the uncropped screenshot of the Google Ads UI and updated complete API logs (request and response with request-id and request header) generated at your end to assist you better.

If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java, .Net, PHP, Python, Ruby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct private reply to this email.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02pWA9C:ref"

Thanks,
 
Google Logo Google Ads API Team


Message has been deleted

Oksana Sulyma

unread,
Oct 26, 2023, 8:59:31 AM10/26/23
to Google Ads API and AdWords API Forum
Thanks so much for your response, Google Ads API Forum Advisor team!
I've sent private message with logs and UI screenshot included.

Google Ads API Forum Advisor

unread,
Oct 27, 2023, 7:31:42 AM10/27/23
to adwor...@googlegroups.com
Hi,

Thank you for getting back to us.

I will check with our team regarding your issue and one of my team members will reach out to you once we have an update on this. Meanwhile, your patience is highly appreciated.

Google Ads API Forum Advisor

unread,
Oct 27, 2023, 4:35:47 PM10/27/23
to adwor...@googlegroups.com
Hi,

Thank you for your patience.

I would suggest you to try the below query and let us know your response. If you still find the discrepancy, please provide us the complete request and response logs with request-id and request header, so that we can investigate this issue further.

Query: 'SELECT ad_group_ad.labels, ad_group_ad.ad.name, ad_group_ad.resource_name,ad_group_ad.ad.id FROM ad_group_ad'
Message has been deleted

Oksana Sulyma

unread,
Nov 1, 2023, 3:54:51 AM11/1/23
to Google Ads API and AdWords API Forum
Hi team,
I've sent you private message with request / response details for this new query.
Still not able to get Label for Ad from API  while it exists in Google Ads UI.
Please advise!
Thanks,
Oksana

Oksana Sulyma

unread,
Nov 28, 2023, 9:37:50 AM11/28/23
to Google Ads API and AdWords API Forum
Just wanted to update as I believe this could be helpful to other API users. 

I got answers to my question in private messaging with API team:
"It appears the API is working at intended and that it is not possible to fetch this label using the API. The reason for this is that the label was created at the MCC level, and according to this support article, "only manager accounts can view account labels; they can’t be created or viewed at the individual Google Ads account level." If you were to look at the client account in the UI without being logged into the Manager account, the label would not appear. Because you can only perform search queries with the API at the client level, and not the MCC level, it is not possible to retrieve this information using the API."

Thanks again for your answers, Google Ads API team!
Oksana
Reply all
Reply to author
Forward
0 new messages