Examples of CreativeSaveResult


Examples of com.google.api.ads.dfa.axis.v1_19.CreativeSaveResult

    HTMLCreativeAsset htmlCreativeAsset = new MobileDisplayCreativeAsset();
    htmlCreativeAsset.setAssetFilename(mobileAssetFileName);
    mobileDisplayCreative.setCreativeAssets(new HTMLCreativeAsset[]{htmlCreativeAsset});

    // Save the mobile display creative.
    CreativeSaveResult creativeSaveResult = service.saveCreative(mobileDisplayCreative,
        campaignId);

    // Display the new creative ID.
    System.out.printf("Mobile display creative with ID \"%s\" was created.%n",
        creativeSaveResult.getId());
  }
View Full Code Here

Examples of com.google.api.ads.dfa.axis.v1_19.CreativeSaveResult

    imageCreative.setAssetFilename(assetFileName);
    // The type ID for image creatives is 1. See GetCreativeTypes.java
    imageCreative.setTypeId(1);

    // Save the image creative.
    CreativeSaveResult creativeSaveResult = creativeService.saveCreative(imageCreative,
        campaignId);

    // Display the new creative ID.
    System.out.printf("Image creative with ID \"%s\" was created.%n",
        creativeSaveResult.getId());
  }
View Full Code Here

Examples of com.google.api.ads.dfa.axis.v1_19.CreativeSaveResult

    TargetWindow backupImageTargetWindow = new TargetWindow();
    backupImageTargetWindow.setOption("_blank");
    flashInpage.setBackupImageTargetWindow(backupImageTargetWindow);

    // Save the Flash in-page creative.
    CreativeSaveResult creativeSaveResult = service.saveCreative(flashInpage, campaignId);

    // Display the new creative ID.
    System.out.printf("Flash inpage creative with ID \"%s\" was created.%n",
        creativeSaveResult.getId());
  }
View Full Code Here

Examples of com.google.api.ads.dfa.axis.v1_19.CreativeSaveResult

        for (InStreamNonLinearAd nonLinearAd : inStreamVideoCreative.getNonLinearAds()) {
          nonLinearAd.setScalable(!nonLinearAd.isScalable());
        }
      }

      CreativeSaveResult creativeSaveResult =
          creativeService.saveCreative(inStreamVideoCreative, 0);

      System.out.printf("Updated the In-Stream assets of In-Stream video creative with ID "
          + "\"%s\".%n", creativeSaveResult.getId());
    }
  }
View Full Code Here

Examples of com.google.api.ads.dfa.axis.v1_19.CreativeSaveResult

    inStreamVideoCreative.setDescription("You are viewing an In-Stream Video Creative");
    inStreamVideoCreative.setSurveyUrl(surveyUrl);
    inStreamVideoCreative.setClickThroughUrl(clickThroughUrl);

    // Save the In-Stream video creative.
    CreativeSaveResult creativeSaveResult = creativeService.saveCreative(inStreamVideoCreative,
        campaignId);

    // Display the new creative ID.
    System.out.printf("In-Stream video creative with ID \"%s\" was created.%n",
        creativeSaveResult.getId());
  }
View Full Code Here

Examples of com.google.api.ads.dfa.axis.v1_20.CreativeSaveResult

    imageCreative.setAssetFilename(assetFileName);
    // The type ID for image creatives is 1. See GetCreativeTypes.java
    imageCreative.setTypeId(1);

    // Save the image creative.
    CreativeSaveResult creativeSaveResult = creativeService.saveCreative(imageCreative,
        campaignId);

    // Display the new creative ID.
    System.out.printf("Image creative with ID \"%s\" was created.%n",
        creativeSaveResult.getId());
  }
View Full Code Here

Examples of com.google.api.ads.dfa.axis.v1_20.CreativeSaveResult

        for (InStreamNonLinearAd nonLinearAd : inStreamVideoCreative.getNonLinearAds()) {
          nonLinearAd.setScalable(!nonLinearAd.isScalable());
        }
      }

      CreativeSaveResult creativeSaveResult =
          creativeService.saveCreative(inStreamVideoCreative, 0);

      System.out.printf("Updated the In-Stream assets of In-Stream video creative with ID "
          + "\"%s\".%n", creativeSaveResult.getId());
    }
  }
View Full Code Here

Examples of com.google.api.ads.dfa.axis.v1_20.CreativeSaveResult

    TargetWindow backupImageTargetWindow = new TargetWindow();
    backupImageTargetWindow.setOption("_blank");
    flashInpage.setBackupImageTargetWindow(backupImageTargetWindow);

    // Save the Flash in-page creative.
    CreativeSaveResult creativeSaveResult = service.saveCreative(flashInpage, campaignId);

    // Display the new creative ID.
    System.out.printf("Flash inpage creative with ID \"%s\" was created.%n",
        creativeSaveResult.getId());
  }
View Full Code Here

Examples of com.google.api.ads.dfa.axis.v1_20.CreativeSaveResult

    HTMLCreativeAsset htmlCreativeAsset = new MobileDisplayCreativeAsset();
    htmlCreativeAsset.setAssetFilename(mobileAssetFileName);
    mobileDisplayCreative.setCreativeAssets(new HTMLCreativeAsset[]{htmlCreativeAsset});

    // Save the mobile display creative.
    CreativeSaveResult creativeSaveResult = service.saveCreative(mobileDisplayCreative,
        campaignId);

    // Display the new creative ID.
    System.out.printf("Mobile display creative with ID \"%s\" was created.%n",
        creativeSaveResult.getId());
  }
View Full Code Here

Examples of com.google.api.ads.dfa.axis.v1_20.CreativeSaveResult

    inStreamVideoCreative.setDescription("You are viewing an In-Stream Video Creative");
    inStreamVideoCreative.setSurveyUrl(surveyUrl);
    inStreamVideoCreative.setClickThroughUrl(clickThroughUrl);

    // Save the In-Stream video creative.
    CreativeSaveResult creativeSaveResult = creativeService.saveCreative(inStreamVideoCreative,
        campaignId);

    // Display the new creative ID.
    System.out.printf("In-Stream video creative with ID \"%s\" was created.%n",
        creativeSaveResult.getId());
  }
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.