mishka
mishka

Reputation: 687

Howto make sure all fields are populated in a Adwords API call (v201609)

Is there a way to pull/populate all fields while trying to fetch an AdGroupAd using Adwords Api?

  1. I tried SELECT * AWQL call and it failed.
  2. Also tried with an empty fields with a Selector with no luck.

Upvotes: 0

Views: 199

Answers (1)

hjhorse
hjhorse

Reputation: 41

Here is the selector definition for AdGroupAd

https://github.com/googleads/googleads-java-lib/blob/master/modules/ads_lib/src/main/java/com/google/api/ads/adwords/lib/selectorfields/v201609/cm/AdGroupAdField.java

You can make a selector like this.

SelectorBuilder builder = new SelectorBuilder().fields(AdGroupAdField.values());

Upvotes: 1

Related Questions