How to get AppAdInfo via Google Ads v2

66 views
Skip to first unread message

Stefan Nguyen

unread,
Sep 26, 2019, 5:41:19 PM9/26/19
to AdWords API and Google Ads API Forum
How do I get the AppAdInfo using Java Library of Google Ads V2?
The maven version is 4.1.1-SNAPSHOT
The query i used is:
SELECT ad_group_ad.ad.app_ad FROM ad_group_ad WHERE ad_group_ad.ad.id IN (...)
The error I got back:
 {
  error_code {
    query_error: PROHIBITED_FIELD_IN_SELECT_CLAUSE
  }
  message: "The following field may not be used in SELECT clause: \'ad_group_ad.ad.app_ad\'."
}

I can find the AppAdInfo domain class from the library but can't quite figure out how to actually get this info

Google Ads API Forum Advisor Prod

unread,
Sep 27, 2019, 12:25:33 PM9/27/19
to stefa...@gmail.com, adwor...@googlegroups.com
Hi Stefan,

If you want metrics for your app ads, you will need to select fields associated to app ads such as ad_group_ad.ad.app_ad.descriptions. You can find all the supported fields here.

Regards,
Anthony
Google Ads API Team

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