class Google::Apis::Adexchangebuyer2V2beta1::Creative

A creative and its classification data.

Attributes

account_id[RW]

The account that this creative belongs to. Can be used to filter the response of the creatives.list method. Corresponds to the JSON property `accountId` @return [String]

ad_choices_destination_url[RW]

The link to AdChoices destination page. Corresponds to the JSON property `adChoicesDestinationUrl` @return [String]

ad_technology_providers[RW]

Detected ad technology provider information. Corresponds to the JSON property `adTechnologyProviders` @return [Google::Apis::Adexchangebuyer2V2beta1::AdTechnologyProviders]

advertiser_name[RW]

The name of the company being advertised in the creative. Corresponds to the JSON property `advertiserName` @return [String]

agency_id[RW]

The agency ID for this creative. Corresponds to the JSON property `agencyId` @return [Fixnum]

api_update_time[RW]

Output only. The last update timestamp of the creative via API. Corresponds to the JSON property `apiUpdateTime` @return [String]

attributes[RW]

All attributes for the ads that may be shown from this creative. Can be used to filter the response of the creatives.list method. Corresponds to the JSON property `attributes` @return [Array<String>]

click_through_urls[RW]

The set of destination URLs for the creative. Corresponds to the JSON property `clickThroughUrls` @return [Array<String>]

corrections[RW]

Output only. Shows any corrections that were applied to this creative. Corresponds to the JSON property `corrections` @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Correction>]

creative_id[RW]

The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method. Corresponds to the JSON property `creativeId` @return [String]

deals_status[RW]

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. Corresponds to the JSON property `dealsStatus` @return [String]

declared_click_through_urls[RW]

The set of declared destination URLs for the creative. Corresponds to the JSON property `declaredClickThroughUrls` @return [Array<String>]

detected_advertiser_ids[RW]

Output only. Detected advertiser IDs, if any. Corresponds to the JSON property `detectedAdvertiserIds` @return [Array<Fixnum>]

detected_domains[RW]

Output only. The detected domains for this creative. Corresponds to the JSON property `detectedDomains` @return [Array<String>]

detected_languages[RW]

Output only. The detected languages for this creative. The order is arbitrary. The codes are 2 or 5 characters and are documented at developers. google.com/adwords/api/docs/appendix/languagecodes. Corresponds to the JSON property `detectedLanguages` @return [Array<String>]

detected_product_categories[RW]

Output only. Detected product categories, if any. See the ad-product- categories.txt file in the technical documentation for a list of IDs. Corresponds to the JSON property `detectedProductCategories` @return [Array<Fixnum>]

detected_sensitive_categories[RW]

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. Corresponds to the JSON property `detectedSensitiveCategories` @return [Array<Fixnum>]

html[RW]

HTML content for a creative. Corresponds to the JSON property `html` @return [Google::Apis::Adexchangebuyer2V2beta1::HtmlContent]

impression_tracking_urls[RW]

The set of URLs to be called to record an impression. Corresponds to the JSON property `impressionTrackingUrls` @return [Array<String>]

native[RW]

Native content for a creative. Corresponds to the JSON property `native` @return [Google::Apis::Adexchangebuyer2V2beta1::NativeContent]

open_auction_status[RW]

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. Corresponds to the JSON property `openAuctionStatus` @return [String]

restricted_categories[RW]

All restricted categories for the ads that may be shown from this creative. Corresponds to the JSON property `restrictedCategories` @return [Array<String>]

serving_restrictions[RW]

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 vs HTTP request, or the type of auction). Corresponds to the JSON property `servingRestrictions` @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ServingRestriction>]

vendor_ids[RW]

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. Corresponds to the JSON property `vendorIds` @return [Array<Fixnum>]

version[RW]

Output only. The version of this creative. Corresponds to the JSON property `version` @return [Fixnum]

video[RW]

Video content for a creative. Corresponds to the JSON property `video` @return [Google::Apis::Adexchangebuyer2V2beta1::VideoContent]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 807
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 812
def update!(**args)
  @account_id = args[:account_id] if args.key?(:account_id)
  @ad_choices_destination_url = args[:ad_choices_destination_url] if args.key?(:ad_choices_destination_url)
  @ad_technology_providers = args[:ad_technology_providers] if args.key?(:ad_technology_providers)
  @advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name)
  @agency_id = args[:agency_id] if args.key?(:agency_id)
  @api_update_time = args[:api_update_time] if args.key?(:api_update_time)
  @attributes = args[:attributes] if args.key?(:attributes)
  @click_through_urls = args[:click_through_urls] if args.key?(:click_through_urls)
  @corrections = args[:corrections] if args.key?(:corrections)
  @creative_id = args[:creative_id] if args.key?(:creative_id)
  @deals_status = args[:deals_status] if args.key?(:deals_status)
  @declared_click_through_urls = args[:declared_click_through_urls] if args.key?(:declared_click_through_urls)
  @detected_advertiser_ids = args[:detected_advertiser_ids] if args.key?(:detected_advertiser_ids)
  @detected_domains = args[:detected_domains] if args.key?(:detected_domains)
  @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
  @detected_product_categories = args[:detected_product_categories] if args.key?(:detected_product_categories)
  @detected_sensitive_categories = args[:detected_sensitive_categories] if args.key?(:detected_sensitive_categories)
  @html = args[:html] if args.key?(:html)
  @impression_tracking_urls = args[:impression_tracking_urls] if args.key?(:impression_tracking_urls)
  @native = args[:native] if args.key?(:native)
  @open_auction_status = args[:open_auction_status] if args.key?(:open_auction_status)
  @restricted_categories = args[:restricted_categories] if args.key?(:restricted_categories)
  @serving_restrictions = args[:serving_restrictions] if args.key?(:serving_restrictions)
  @vendor_ids = args[:vendor_ids] if args.key?(:vendor_ids)
  @version = args[:version] if args.key?(:version)
  @video = args[:video] if args.key?(:video)
end