Examples of DropDownCustomField


Examples of com.google.api.ads.dfp.v201208.DropDownCustomField

      // Get the custom field.
      CustomField customField = customFieldService.getCustomField(customFieldId);

      // Get the drop-down custom field.
      DropDownCustomField dropDownCustomField =
          (DropDownCustomField) customFieldService.getCustomField(dropDownCustomFieldId);

      // Get the line item.
      LineItem lineItem = lineItemService.getLineItem(lineItemId);
View Full Code Here

Examples of com.google.api.ads.dfp.v201208.DropDownCustomField

        if (page.getResults() != null) {
          int i = page.getStartIndex();
          for (CustomField customField : page.getResults()) {
            if (customField instanceof DropDownCustomField) {
              List<String> dropDownCustomFieldStrings = new ArrayList<String>();
              DropDownCustomField dropDownCustomField = (DropDownCustomField) customField;
              if (dropDownCustomField.getOptions() != null) {
                for (CustomFieldOption customFieldOption : dropDownCustomField.getOptions()) {
                  dropDownCustomFieldStrings.add(customFieldOption.getDisplayName());
                }
              }
              System.out.println(i + ") Drop-down custom field with ID \"" + customField.getId()
                  + "\", name \"" + customField.getName() + "\", and options {"
View Full Code Here

Examples of com.google.api.ads.dfp.v201211.DropDownCustomField

        if (page.getResults() != null) {
          int i = page.getStartIndex();
          for (CustomField customField : page.getResults()) {
            if (customField instanceof DropDownCustomField) {
              List<String> dropDownCustomFieldStrings = new ArrayList<String>();
              DropDownCustomField dropDownCustomField = (DropDownCustomField) customField;
              if (dropDownCustomField.getOptions() != null) {
                for (CustomFieldOption customFieldOption : dropDownCustomField.getOptions()) {
                  dropDownCustomFieldStrings.add(customFieldOption.getDisplayName());
                }
              }
              System.out.println(i + ") Drop-down custom field with ID \"" + customField.getId()
                  + "\", name \"" + customField.getName() + "\", and options {"
View Full Code Here

Examples of com.google.api.ads.dfp.v201211.DropDownCustomField

      // Get the custom field.
      CustomField customField = customFieldService.getCustomField(customFieldId);

      // Get the drop-down custom field.
      DropDownCustomField dropDownCustomField =
          (DropDownCustomField) customFieldService.getCustomField(dropDownCustomFieldId);

      // Get the line item.
      LineItem lineItem = lineItemService.getLineItem(lineItemId);
View Full Code Here

Examples of com.google.api.ads.dfp.v201302.DropDownCustomField

      // Get the custom field.
      CustomField customField = customFieldService.getCustomField(customFieldId);

      // Get the drop-down custom field.
      DropDownCustomField dropDownCustomField =
          (DropDownCustomField) customFieldService.getCustomField(dropDownCustomFieldId);

      // Get the line item.
      LineItem lineItem = lineItemService.getLineItem(lineItemId);
View Full Code Here

Examples of com.google.api.ads.dfp.v201302.DropDownCustomField

        if (page.getResults() != null) {
          int i = page.getStartIndex();
          for (CustomField customField : page.getResults()) {
            if (customField instanceof DropDownCustomField) {
              List<String> dropDownCustomFieldStrings = new ArrayList<String>();
              DropDownCustomField dropDownCustomField = (DropDownCustomField) customField;
              if (dropDownCustomField.getOptions() != null) {
                for (CustomFieldOption customFieldOption : dropDownCustomField.getOptions()) {
                  dropDownCustomFieldStrings.add(customFieldOption.getDisplayName());
                }
              }
              System.out.println(i + ") Drop-down custom field with ID \"" + customField.getId()
                  + "\", name \"" + customField.getName() + "\", and options {"
View Full Code Here

Examples of com.google.api.ads.dfp.v201306.DropDownCustomField

      // Get the custom field.
      CustomField customField = customFieldService.getCustomField(customFieldId);

      // Get the drop-down custom field.
      DropDownCustomField dropDownCustomField =
          (DropDownCustomField) customFieldService.getCustomField(dropDownCustomFieldId);

      // Get the line item.
      LineItem lineItem = lineItemService.getLineItem(lineItemId);
View Full Code Here

Examples of com.google.api.ads.dfp.v201306.DropDownCustomField

        if (page.getResults() != null) {
          int i = page.getStartIndex();
          for (CustomField customField : page.getResults()) {
            if (customField instanceof DropDownCustomField) {
              List<String> dropDownCustomFieldStrings = new ArrayList<String>();
              DropDownCustomField dropDownCustomField = (DropDownCustomField) customField;
              if (dropDownCustomField.getOptions() != null) {
                for (CustomFieldOption customFieldOption : dropDownCustomField.getOptions()) {
                  dropDownCustomFieldStrings.add(customFieldOption.getDisplayName());
                }
              }
              System.out.println(i + ") Drop-down custom field with ID \"" + customField.getId()
                  + "\", name \"" + customField.getName() + "\", and options {"
View Full Code Here

Examples of com.google.api.ads.dfp.v201308.DropDownCustomField

      // Get the custom field.
      CustomField customField = customFieldService.getCustomField(customFieldId);

      // Get the drop-down custom field.
      DropDownCustomField dropDownCustomField =
          (DropDownCustomField) customFieldService.getCustomField(dropDownCustomFieldId);

      // Get the line item.
      LineItem lineItem = lineItemService.getLineItem(lineItemId);
View Full Code Here

Examples of com.google.api.ads.dfp.v201308.DropDownCustomField

        if (page.getResults() != null) {
          int i = page.getStartIndex();
          for (CustomField customField : page.getResults()) {
            if (customField instanceof DropDownCustomField) {
              List<String> dropDownCustomFieldStrings = new ArrayList<String>();
              DropDownCustomField dropDownCustomField = (DropDownCustomField) customField;
              if (dropDownCustomField.getOptions() != null) {
                for (CustomFieldOption customFieldOption : dropDownCustomField.getOptions()) {
                  dropDownCustomFieldStrings.add(customFieldOption.getDisplayName());
                }
              }
              System.out.println(i + ") Drop-down custom field with ID \"" + customField.getId()
                  + "\", name \"" + customField.getName() + "\", and options {"
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.