class Google::Apis::AdexchangebuyerV1_3::Creative
A creative and its classification data.
Attributes
Account id. Corresponds to the JSON property `accountId` @return [Fixnum]
Detected advertiser id, if any. Read-only. This field should not be set in requests. Corresponds to the JSON property `advertiserId` @return [Array<String>]
The name of the company being advertised in the creative. Corresponds to the JSON property `advertiserName` @return [String]
The agency id for this creative. Corresponds to the JSON property `agencyId` @return [String]
The last upload timestamp of this creative if it was uploaded via API. Read- only. The value of this field is generated, and will be ignored for uploads. ( formatted RFC 3339 timestamp). Corresponds to the JSON property `apiUploadTimestamp` @return [DateTime]
All attributes for the ads that may be shown from this snippet. Corresponds to the JSON property `attribute` @return [Array<Fixnum>]
A buyer-specific id identifying the creative in this ad. Corresponds to the JSON property `buyerCreativeId` @return [String]
The set of destination urls for the snippet. Corresponds to the JSON property `clickThroughUrl` @return [Array<String>]
Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests. Corresponds to the JSON property `corrections` @return [Array<Google::Apis::AdexchangebuyerV1_3::Creative::Correction>]
The reasons for disapproval, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue. Read-only. This field should not be set in requests. Corresponds to the JSON property `disapprovalReasons` @return [Array<Google::Apis::AdexchangebuyerV1_3::Creative::DisapprovalReason>]
The filtering reasons for the creative. Read-only. This field should not be set in requests. Corresponds to the JSON property `filteringReasons` @return [Google::Apis::AdexchangebuyerV1_3::Creative::FilteringReasons]
Ad height. Corresponds to the JSON property `height` @return [Fixnum]
The HTML snippet that displays the ad when inserted in the web page. If set, videoURL should not be set. Corresponds to the JSON property `HTMLSnippet` @return [String]
The set of urls to be called to record an impression. Corresponds to the JSON property `impressionTrackingUrl` @return [Array<String>]
Resource type. Corresponds to the JSON property `kind` @return [String]
If nativeAd is set, HTMLSnippet and videoURL should not be set. Corresponds to the JSON property `nativeAd` @return [Google::Apis::AdexchangebuyerV1_3::Creative::NativeAd]
Detected product categories, if any. Read-only. This field should not be set in requests. Corresponds to the JSON property `productCategories` @return [Array<Fixnum>]
All restricted categories for the ads that may be shown from this snippet. Corresponds to the JSON property `restrictedCategories` @return [Array<Fixnum>]
Detected sensitive categories, if any. Read-only. This field should not be set in requests. Corresponds to the JSON property `sensitiveCategories` @return [Array<Fixnum>]
Creative serving status. Read-only. This field should not be set in requests. Corresponds to the JSON property `status` @return [String]
All vendor types for the ads that may be shown from this snippet. Corresponds to the JSON property `vendorType` @return [Array<Fixnum>]
The version for this creative. Read-only. This field should not be set in requests. Corresponds to the JSON property `version` @return [Fixnum]
The url to fetch a video ad. If set, HTMLSnippet should not be set. Corresponds to the JSON property `videoURL` @return [String]
Ad width. Corresponds to the JSON property `width` @return [Fixnum]
Public Class Methods
# File generated/google/apis/adexchangebuyer_v1_3/classes.rb, line 407 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/adexchangebuyer_v1_3/classes.rb, line 412 def update!(**args) @html_snippet = args[:html_snippet] if args.key?(:html_snippet) @account_id = args[:account_id] if args.key?(:account_id) @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) @advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name) @agency_id = args[:agency_id] if args.key?(:agency_id) @api_upload_timestamp = args[:api_upload_timestamp] if args.key?(:api_upload_timestamp) @attribute = args[:attribute] if args.key?(:attribute) @buyer_creative_id = args[:buyer_creative_id] if args.key?(:buyer_creative_id) @click_through_url = args[:click_through_url] if args.key?(:click_through_url) @corrections = args[:corrections] if args.key?(:corrections) @disapproval_reasons = args[:disapproval_reasons] if args.key?(:disapproval_reasons) @filtering_reasons = args[:filtering_reasons] if args.key?(:filtering_reasons) @height = args[:height] if args.key?(:height) @impression_tracking_url = args[:impression_tracking_url] if args.key?(:impression_tracking_url) @kind = args[:kind] if args.key?(:kind) @native_ad = args[:native_ad] if args.key?(:native_ad) @product_categories = args[:product_categories] if args.key?(:product_categories) @restricted_categories = args[:restricted_categories] if args.key?(:restricted_categories) @sensitive_categories = args[:sensitive_categories] if args.key?(:sensitive_categories) @status = args[:status] if args.key?(:status) @vendor_type = args[:vendor_type] if args.key?(:vendor_type) @version = args[:version] if args.key?(:version) @video_url = args[:video_url] if args.key?(:video_url) @width = args[:width] if args.key?(:width) end