End point to get enums

21 views
Skip to first unread message

German Chaban

unread,
Feb 22, 2022, 3:42:02 AM2/22/22
to Google Ads API and AdWords API Forum
I am using the REST interface, and i want to get all the values of possible AdTypes from https://developers.google.com/google-ads/api/rest/reference/rest/v10/customers.ads#AdType
to show them in a dropdown in my app, so the user can select which type of ad wants to create, how can i do this?

Google Ads API Forum Advisor

unread,
Feb 22, 2022, 6:08:48 PM2/22/22
to german...@samprand.com, adwor...@googlegroups.com

Hello German,

Thanks for reaching out to the Google Ads API support. Please note the API can only be a conduit for the product as expressed in the UI. I am wondering if your question is related to the “advertising_channel_type”. If yes then you can add the “campaign.advertising_channel_type” attribute field to your query by filtering From campaign resource you can pull the reports for your specific campaigns.
Since you are using the REST interface, please refer to this link for getting more information about the field or resource (artifact) used by GoogleAdsService. Let me know if you have any questions.

Best regards,

Google Logo
Jakeia Sabrina
Google Ads API Team

 



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