Package com.google.api.ads.dfp.axis.v201208

Examples of com.google.api.ads.dfp.axis.v201208.CustomFieldOption


    // Set the created drop-down custom field.
    dropDownCustomField = customFields[1];

    // Create approved custom field option.
    CustomFieldOption approvedCustomFieldOption = new CustomFieldOption();
    approvedCustomFieldOption.setDisplayName("APPROVED");
    approvedCustomFieldOption.setCustomFieldId(dropDownCustomField.getId());

    // Create unapproved custom field option.
    CustomFieldOption unapprovedCustomFieldOption = new CustomFieldOption();
    unapprovedCustomFieldOption.setDisplayName("UNAPPROVED");
    unapprovedCustomFieldOption.setCustomFieldId(dropDownCustomField.getId());

    // Create the custom field options on the server.
    CustomFieldOption[] customFieldOptions = customFieldService.createCustomFieldOptions(
        new CustomFieldOption[] {approvedCustomFieldOption, unapprovedCustomFieldOption});
View Full Code Here


    // Set the created drop-down custom field.
    dropDownCustomField = customFields[1];

    // Create approved custom field option.
    CustomFieldOption approvedCustomFieldOption = new CustomFieldOption();
    approvedCustomFieldOption.setDisplayName("APPROVED");
    approvedCustomFieldOption.setCustomFieldId(dropDownCustomField.getId());

    // Create unapproved custom field option.
    CustomFieldOption unapprovedCustomFieldOption = new CustomFieldOption();
    unapprovedCustomFieldOption.setDisplayName("UNAPPROVED");
    unapprovedCustomFieldOption.setCustomFieldId(dropDownCustomField.getId());

    // Create the custom field options on the server.
    CustomFieldOption[] customFieldOptions = customFieldService.createCustomFieldOptions(
        new CustomFieldOption[] {approvedCustomFieldOption, unapprovedCustomFieldOption});
View Full Code Here

      // Set the ID of the drop-down custom field to create options for.
      Long customFieldId = Long.parseLong("INSERT_DROP_DOWN_CUSTOM_FIELD_ID_HERE");

      // Create custom field options.
      CustomFieldOption customFieldOption1 = new CustomFieldOption();
      customFieldOption1.setDisplayName("Approved");
      customFieldOption1.setCustomFieldId(customFieldId);

      CustomFieldOption customFieldOption2 = new CustomFieldOption();
      customFieldOption2.setDisplayName("Unapproved");
      customFieldOption2.setCustomFieldId(customFieldId);

      // Add custom field options.
      CustomFieldOption[] customFieldOptions =
          customFieldService.createCustomFieldOptions(new CustomFieldOption[] {customFieldOption1,
              customFieldOption2});
View Full Code Here

      // Set the ID of the drop-down custom field to create options for.
      Long customFieldId = Long.parseLong("INSERT_DROP_DOWN_CUSTOM_FIELD_ID_HERE");

      // Create custom field options.
      CustomFieldOption customFieldOption1 = new CustomFieldOption();
      customFieldOption1.setDisplayName("Approved");
      customFieldOption1.setCustomFieldId(customFieldId);

      CustomFieldOption customFieldOption2 = new CustomFieldOption();
      customFieldOption2.setDisplayName("Unapproved");
      customFieldOption2.setCustomFieldId(customFieldId);

      // Add custom field options.
      CustomFieldOption[] customFieldOptions =
          customFieldService.createCustomFieldOptions(new CustomFieldOption[] {customFieldOption1,
              customFieldOption2});
View Full Code Here

      // Set the ID of the drop-down custom field to create options for.
      Long customFieldId = Long.parseLong("INSERT_DROP_DOWN_CUSTOM_FIELD_ID_HERE");

      // Create custom field options.
      CustomFieldOption customFieldOption1 = new CustomFieldOption();
      customFieldOption1.setDisplayName("Approved");
      customFieldOption1.setCustomFieldId(customFieldId);

      CustomFieldOption customFieldOption2 = new CustomFieldOption();
      customFieldOption2.setDisplayName("Unapproved");
      customFieldOption2.setCustomFieldId(customFieldId);

      // Add custom field options.
      CustomFieldOption[] customFieldOptions =
          customFieldService.createCustomFieldOptions(new CustomFieldOption[] {customFieldOption1,
              customFieldOption2});
View Full Code Here

      // Set the ID of the drop-down custom field to create options for.
      Long customFieldId = Long.parseLong("INSERT_DROP_DOWN_CUSTOM_FIELD_ID_HERE");

      // Create custom field options.
      CustomFieldOption customFieldOption1 = new CustomFieldOption();
      customFieldOption1.setDisplayName("Approved");
      customFieldOption1.setCustomFieldId(customFieldId);

      CustomFieldOption customFieldOption2 = new CustomFieldOption();
      customFieldOption2.setDisplayName("Unapproved");
      customFieldOption2.setCustomFieldId(customFieldId);

      // Add custom field options.
      CustomFieldOption[] customFieldOptions =
          customFieldService.createCustomFieldOptions(new CustomFieldOption[] {customFieldOption1,
              customFieldOption2});
View Full Code Here

      // Set the ID of the drop-down custom field to create options for.
      Long customFieldId = Long.parseLong("INSERT_DROP_DOWN_CUSTOM_FIELD_ID_HERE");

      // Create custom field options.
      CustomFieldOption customFieldOption1 = new CustomFieldOption();
      customFieldOption1.setDisplayName("Approved");
      customFieldOption1.setCustomFieldId(customFieldId);

      CustomFieldOption customFieldOption2 = new CustomFieldOption();
      customFieldOption2.setDisplayName("Unapproved");
      customFieldOption2.setCustomFieldId(customFieldId);

      // Add custom field options.
      CustomFieldOption[] customFieldOptions =
          customFieldService.createCustomFieldOptions(new CustomFieldOption[] {customFieldOption1,
              customFieldOption2});
View Full Code Here

      // Set the ID of the drop-down custom field to create options for.
      Long customFieldId = Long.parseLong("INSERT_DROP_DOWN_CUSTOM_FIELD_ID_HERE");

      // Create custom field options.
      CustomFieldOption customFieldOption1 = new CustomFieldOption();
      customFieldOption1.setDisplayName("Approved");
      customFieldOption1.setCustomFieldId(customFieldId);

      CustomFieldOption customFieldOption2 = new CustomFieldOption();
      customFieldOption2.setDisplayName("Unapproved");
      customFieldOption2.setCustomFieldId(customFieldId);

      // Add custom field options.
      CustomFieldOption[] customFieldOptions =
          customFieldService.createCustomFieldOptions(new CustomFieldOption[] {customFieldOption1,
              customFieldOption2});
View Full Code Here

TOP

Related Classes of com.google.api.ads.dfp.axis.v201208.CustomFieldOption

Copyright © 2018 www.massapicom. 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.