accountId = $accountId; } /** * @return string */ public function getAccountId() { return $this->accountId; } /** * The link to AdChoices destination page. * * @param string $adChoicesDestinationUrl */ public function setAdChoicesDestinationUrl($adChoicesDestinationUrl) { $this->adChoicesDestinationUrl = $adChoicesDestinationUrl; } /** * @return string */ public function getAdChoicesDestinationUrl() { return $this->adChoicesDestinationUrl; } /** * Output only. The detected ad technology providers. * * @param AdTechnologyProviders $adTechnologyProviders */ public function setAdTechnologyProviders(AdTechnologyProviders $adTechnologyProviders) { $this->adTechnologyProviders = $adTechnologyProviders; } /** * @return AdTechnologyProviders */ public function getAdTechnologyProviders() { return $this->adTechnologyProviders; } /** * The name of the company being advertised in the creative. * * @param string $advertiserName */ public function setAdvertiserName($advertiserName) { $this->advertiserName = $advertiserName; } /** * @return string */ public function getAdvertiserName() { return $this->advertiserName; } /** * The agency ID for this creative. * * @param string $agencyId */ public function setAgencyId($agencyId) { $this->agencyId = $agencyId; } /** * @return string */ public function getAgencyId() { return $this->agencyId; } /** * Output only. The last update timestamp of the creative through the API. * * @param string $apiUpdateTime */ public function setApiUpdateTime($apiUpdateTime) { $this->apiUpdateTime = $apiUpdateTime; } /** * @return string */ public function getApiUpdateTime() { return $this->apiUpdateTime; } /** * All attributes for the ads that may be shown from this creative. Can be * used to filter the response of the creatives.list method. * * @param string[] $attributes */ public function setAttributes($attributes) { $this->attributes = $attributes; } /** * @return string[] */ public function getAttributes() { return $this->attributes; } /** * The set of destination URLs for the creative. * * @param string[] $clickThroughUrls */ public function setClickThroughUrls($clickThroughUrls) { $this->clickThroughUrls = $clickThroughUrls; } /** * @return string[] */ public function getClickThroughUrls() { return $this->clickThroughUrls; } /** * Output only. Shows any corrections that were applied to this creative. * * @deprecated * @param Correction[] $corrections */ public function setCorrections($corrections) { $this->corrections = $corrections; } /** * @deprecated * @return Correction[] */ public function getCorrections() { return $this->corrections; } /** * The buyer-defined creative ID of this creative. Can be used to filter the * response of the creatives.list method. * * @param string $creativeId */ public function setCreativeId($creativeId) { $this->creativeId = $creativeId; } /** * @return string */ public function getCreativeId() { return $this->creativeId; } /** * Output only. The top-level deals status of this creative. If disapproved, * an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in serving_restrictions * will also exist. Note that this may be nuanced with other contextual * restrictions, in which case, it may be preferable to read from * serving_restrictions directly. Can be used to filter the response of the * creatives.list method. * * Accepted values: STATUS_UNSPECIFIED, NOT_CHECKED, CONDITIONALLY_APPROVED, * APPROVED, DISAPPROVED, PENDING_REVIEW, STATUS_TYPE_UNSPECIFIED * * @param self::DEALS_STATUS_* $dealsStatus */ public function setDealsStatus($dealsStatus) { $this->dealsStatus = $dealsStatus; } /** * @return self::DEALS_STATUS_* */ public function getDealsStatus() { return $this->dealsStatus; } /** * The set of declared destination URLs for the creative. * * @param string[] $declaredClickThroughUrls */ public function setDeclaredClickThroughUrls($declaredClickThroughUrls) { $this->declaredClickThroughUrls = $declaredClickThroughUrls; } /** * @return string[] */ public function getDeclaredClickThroughUrls() { return $this->declaredClickThroughUrls; } /** * Output only. Detected advertiser IDs, if any. * * @param string[] $detectedAdvertiserIds */ public function setDetectedAdvertiserIds($detectedAdvertiserIds) { $this->detectedAdvertiserIds = $detectedAdvertiserIds; } /** * @return string[] */ public function getDetectedAdvertiserIds() { return $this->detectedAdvertiserIds; } /** * Output only. The detected domains for this creative. * * @param string[] $detectedDomains */ public function setDetectedDomains($detectedDomains) { $this->detectedDomains = $detectedDomains; } /** * @return string[] */ public function getDetectedDomains() { return $this->detectedDomains; } /** * Output only. The detected languages for this creative. The order is * arbitrary. The codes are 2 or 5 characters and are documented at * https://developers.google.com/adwords/api/docs/appendix/languagecodes. * * @param string[] $detectedLanguages */ public function setDetectedLanguages($detectedLanguages) { $this->detectedLanguages = $detectedLanguages; } /** * @return string[] */ public function getDetectedLanguages() { return $this->detectedLanguages; } /** * Output only. Detected product categories, if any. See the ad-product- * categories.txt file in the technical documentation for a list of IDs. * * @param int[] $detectedProductCategories */ public function setDetectedProductCategories($detectedProductCategories) { $this->detectedProductCategories = $detectedProductCategories; } /** * @return int[] */ public function getDetectedProductCategories() { return $this->detectedProductCategories; } /** * Output only. Detected sensitive categories, if any. See the ad-sensitive- * categories.txt file in the technical documentation for a list of IDs. You * should use these IDs along with the excluded-sensitive-category field in * the bid request to filter your bids. * * @param int[] $detectedSensitiveCategories */ public function setDetectedSensitiveCategories($detectedSensitiveCategories) { $this->detectedSensitiveCategories = $detectedSensitiveCategories; } /** * @return int[] */ public function getDetectedSensitiveCategories() { return $this->detectedSensitiveCategories; } /** * An HTML creative. * * @param HtmlContent $html */ public function setHtml(HtmlContent $html) { $this->html = $html; } /** * @return HtmlContent */ public function getHtml() { return $this->html; } /** * The set of URLs to be called to record an impression. * * @param string[] $impressionTrackingUrls */ public function setImpressionTrackingUrls($impressionTrackingUrls) { $this->impressionTrackingUrls = $impressionTrackingUrls; } /** * @return string[] */ public function getImpressionTrackingUrls() { return $this->impressionTrackingUrls; } /** * A native creative. * * @param NativeContent $native */ public function setNative(NativeContent $native) { $this->native = $native; } /** * @return NativeContent */ public function getNative() { return $this->native; } /** * Output only. The top-level open auction status of this creative. If * disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in * serving_restrictions will also exist. Note that this may be nuanced with * other contextual restrictions, in which case, it may be preferable to read * from serving_restrictions directly. Can be used to filter the response of * the creatives.list method. * * Accepted values: STATUS_UNSPECIFIED, NOT_CHECKED, CONDITIONALLY_APPROVED, * APPROVED, DISAPPROVED, PENDING_REVIEW, STATUS_TYPE_UNSPECIFIED * * @param self::OPEN_AUCTION_STATUS_* $openAuctionStatus */ public function setOpenAuctionStatus($openAuctionStatus) { $this->openAuctionStatus = $openAuctionStatus; } /** * @return self::OPEN_AUCTION_STATUS_* */ public function getOpenAuctionStatus() { return $this->openAuctionStatus; } /** * All restricted categories for the ads that may be shown from this creative. * * @param string[] $restrictedCategories */ public function setRestrictedCategories($restrictedCategories) { $this->restrictedCategories = $restrictedCategories; } /** * @return string[] */ public function getRestrictedCategories() { return $this->restrictedCategories; } /** * Output only. The granular status of this ad in specific contexts. A context * here relates to where something ultimately serves (for example, a physical * location, a platform, an HTTPS versus HTTP request, or the type of * auction). * * @param ServingRestriction[] $servingRestrictions */ public function setServingRestrictions($servingRestrictions) { $this->servingRestrictions = $servingRestrictions; } /** * @return ServingRestriction[] */ public function getServingRestrictions() { return $this->servingRestrictions; } /** * All vendor IDs for the ads that may be shown from this creative. See * https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt for * possible values. * * @param int[] $vendorIds */ public function setVendorIds($vendorIds) { $this->vendorIds = $vendorIds; } /** * @return int[] */ public function getVendorIds() { return $this->vendorIds; } /** * Output only. The version of this creative. * * @param int $version */ public function setVersion($version) { $this->version = $version; } /** * @return int */ public function getVersion() { return $this->version; } /** * A video creative. * * @param VideoContent $video */ public function setVideo(VideoContent $video) { $this->video = $video; } /** * @return VideoContent */ public function getVideo() { return $this->video; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Creative::class, 'Google_Service_AdExchangeBuyerII_Creative');