class Google::Apis::DfareportingV3_5::Advertiser

Contains properties of a Campaign Manager advertiser.

Attributes

account_id[RW]

Account ID of this advertiser.This is a read-only field that can be left blank. Corresponds to the JSON property `accountId` @return [Fixnum]

advertiser_group_id[RW]

ID of the advertiser group this advertiser belongs to. You can group advertisers for reporting purposes, allowing you to see aggregated information for all advertisers in each group. Corresponds to the JSON property `advertiserGroupId` @return [Fixnum]

click_through_url_suffix[RW]

Suffix added to click-through URL of ad creative associations under this advertiser. Must be less than 129 characters long. Corresponds to the JSON property `clickThroughUrlSuffix` @return [String]

default_click_through_event_tag_id[RW]

ID of the click-through event tag to apply by default to the landing pages of this advertiser's campaigns. Corresponds to the JSON property `defaultClickThroughEventTagId` @return [Fixnum]

default_email[RW]

Default email address used in sender field for tag emails. Corresponds to the JSON property `defaultEmail` @return [String]

floodlight_configuration_id[RW]

Floodlight configuration ID of this advertiser. The floodlight configuration ID will be created automatically, so on insert this field should be left blank. This field can be set to another advertiser's floodlight configuration ID in order to share that advertiser's floodlight configuration with this advertiser, so long as: - This advertiser's original floodlight configuration is not already associated with floodlight activities or floodlight activity groups. - This advertiser's original floodlight configuration is not already shared with another advertiser. Corresponds to the JSON property `floodlightConfigurationId` @return [Fixnum]

floodlight_configuration_id_dimension_value[RW]

Represents a DimensionValue resource. Corresponds to the JSON property `floodlightConfigurationIdDimensionValue` @return [Google::Apis::DfareportingV3_5::DimensionValue]

id[RW]

ID of this advertiser. This is a read-only, auto-generated field. Corresponds to the JSON property `id` @return [Fixnum]

id_dimension_value[RW]

Represents a DimensionValue resource. Corresponds to the JSON property `idDimensionValue` @return [Google::Apis::DfareportingV3_5::DimensionValue]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “ dfareporting#advertiser”. Corresponds to the JSON property `kind` @return [String]

name[RW]

Name of this advertiser. This is a required field and must be less than 256 characters long and unique among advertisers of the same account. Corresponds to the JSON property `name` @return [String]

original_floodlight_configuration_id[RW]

Original floodlight configuration before any sharing occurred. Set the floodlightConfigurationId of this advertiser to originalFloodlightConfigurationId to unshare the advertiser's current floodlight configuration. You cannot unshare an advertiser's floodlight configuration if the shared configuration has activities associated with any campaign or placement. Corresponds to the JSON property `originalFloodlightConfigurationId` @return [Fixnum]

status[RW]

Status of this advertiser. Corresponds to the JSON property `status` @return [String]

subaccount_id[RW]

Subaccount ID of this advertiser.This is a read-only field that can be left blank. Corresponds to the JSON property `subaccountId` @return [Fixnum]

suspended[RW]

Suspension status of this advertiser. Corresponds to the JSON property `suspended` @return [Boolean]

suspended?[RW]

Suspension status of this advertiser. Corresponds to the JSON property `suspended` @return [Boolean]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dfareporting_v3_5/classes.rb, line 1083
def update!(**args)
  @account_id = args[:account_id] if args.key?(:account_id)
  @advertiser_group_id = args[:advertiser_group_id] if args.key?(:advertiser_group_id)
  @click_through_url_suffix = args[:click_through_url_suffix] if args.key?(:click_through_url_suffix)
  @default_click_through_event_tag_id = args[:default_click_through_event_tag_id] if args.key?(:default_click_through_event_tag_id)
  @default_email = args[:default_email] if args.key?(:default_email)
  @floodlight_configuration_id = args[:floodlight_configuration_id] if args.key?(:floodlight_configuration_id)
  @floodlight_configuration_id_dimension_value = args[:floodlight_configuration_id_dimension_value] if args.key?(:floodlight_configuration_id_dimension_value)
  @id = args[:id] if args.key?(:id)
  @id_dimension_value = args[:id_dimension_value] if args.key?(:id_dimension_value)
  @kind = args[:kind] if args.key?(:kind)
  @measurement_partner_link = args[:measurement_partner_link] if args.key?(:measurement_partner_link)
  @name = args[:name] if args.key?(:name)
  @original_floodlight_configuration_id = args[:original_floodlight_configuration_id] if args.key?(:original_floodlight_configuration_id)
  @status = args[:status] if args.key?(:status)
  @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id)
  @suspended = args[:suspended] if args.key?(:suspended)
end