Class: Google::Apis::AdexchangebuyerV1_4::PublisherProfileApiProto

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/adexchangebuyer_v1_4/classes.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ PublisherProfileApiProto

Returns a new instance of PublisherProfileApiProto



3222
3223
3224
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3222

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#account_idString

The account id of the seller. Corresponds to the JSON property accountId

Returns:

  • (String)


3104
3105
3106
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3104

def 
  @account_id
end

#audienceString

Publisher provided info on its audience. Corresponds to the JSON property audience

Returns:

  • (String)


3109
3110
3111
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3109

def audience
  @audience
end

#buyer_pitch_statementString

A pitch statement for the buyer Corresponds to the JSON property buyerPitchStatement

Returns:

  • (String)


3114
3115
3116
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3114

def buyer_pitch_statement
  @buyer_pitch_statement
end

#direct_contactString

Direct contact for the publisher profile. Corresponds to the JSON property directContact

Returns:

  • (String)


3119
3120
3121
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3119

def direct_contact
  @direct_contact
end

#exchangeString

Exchange where this publisher profile is from. E.g. AdX, Rubicon etc... Corresponds to the JSON property exchange

Returns:

  • (String)


3124
3125
3126
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3124

def exchange
  @exchange
end

Link to publisher's Google+ page. Corresponds to the JSON property googlePlusLink

Returns:

  • (String)


3129
3130
3131
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3129

def google_plus_link
  @google_plus_link
end

#is_parentBoolean Also known as: is_parent?

True, if this is the parent profile, which represents all domains owned by the publisher. Corresponds to the JSON property isParent

Returns:

  • (Boolean)


3135
3136
3137
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3135

def is_parent
  @is_parent
end

#is_publishedBoolean Also known as: is_published?

True, if this profile is published. Deprecated for state. Corresponds to the JSON property isPublished

Returns:

  • (Boolean)


3141
3142
3143
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3141

def is_published
  @is_published
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " adexchangebuyer#publisherProfileApiProto". Corresponds to the JSON property kind

Returns:

  • (String)


3148
3149
3150
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3148

def kind
  @kind
end

#logo_urlString

The url to the logo for the publisher. Corresponds to the JSON property logoUrl

Returns:

  • (String)


3153
3154
3155
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3153

def logo_url
  @logo_url
end

The url for additional marketing and sales materials. Corresponds to the JSON property mediaKitLink

Returns:

  • (String)


3158
3159
3160
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3158

def media_kit_link
  @media_kit_link
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


3163
3164
3165
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3163

def name
  @name
end

#overviewString

Publisher provided overview. Corresponds to the JSON property overview

Returns:

  • (String)


3168
3169
3170
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3168

def overview
  @overview
end

#profile_idFixnum

The pair of (seller.account_id, profile_id) uniquely identifies a publisher profile for a given publisher. Corresponds to the JSON property profileId

Returns:

  • (Fixnum)


3174
3175
3176
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3174

def profile_id
  @profile_id
end

#programmatic_contactString

Programmatic contact for the publisher profile. Corresponds to the JSON property programmaticContact

Returns:

  • (String)


3179
3180
3181
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3179

def programmatic_contact
  @programmatic_contact
end

#publisher_domainsArray<String>

The list of domains represented in this publisher profile. Empty if this is a parent profile. Corresponds to the JSON property publisherDomains

Returns:

  • (Array<String>)


3185
3186
3187
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3185

def publisher_domains
  @publisher_domains
end

#publisher_profile_idString

Unique Id for publisher profile. Corresponds to the JSON property publisherProfileId

Returns:

  • (String)


3190
3191
3192
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3190

def publisher_profile_id
  @publisher_profile_id
end

#publisher_provided_forecastGoogle::Apis::AdexchangebuyerV1_4::PublisherProvidedForecast

This message carries publisher provided forecasting information. Corresponds to the JSON property publisherProvidedForecast



3195
3196
3197
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3195

def publisher_provided_forecast
  @publisher_provided_forecast
end

Link to publisher rate card Corresponds to the JSON property rateCardInfoLink

Returns:

  • (String)


3200
3201
3202
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3200

def rate_card_info_link
  @rate_card_info_link
end

Link for a sample content page. Corresponds to the JSON property samplePageLink

Returns:

  • (String)


3205
3206
3207
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3205

def sample_page_link
  @sample_page_link
end

#sellerGoogle::Apis::AdexchangebuyerV1_4::Seller

Seller of the publisher profile. Corresponds to the JSON property seller



3210
3211
3212
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3210

def seller
  @seller
end

#stateString

State of the publisher profile. Corresponds to the JSON property state

Returns:

  • (String)


3215
3216
3217
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3215

def state
  @state
end

#top_headlinesArray<String>

Publisher provided key metrics and rankings. Corresponds to the JSON property topHeadlines

Returns:

  • (Array<String>)


3220
3221
3222
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3220

def top_headlines
  @top_headlines
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3227

def update!(**args)
  @account_id = args[:account_id] if args.key?(:account_id)
  @audience = args[:audience] if args.key?(:audience)
  @buyer_pitch_statement = args[:buyer_pitch_statement] if args.key?(:buyer_pitch_statement)
  @direct_contact = args[:direct_contact] if args.key?(:direct_contact)
  @exchange = args[:exchange] if args.key?(:exchange)
  @google_plus_link = args[:google_plus_link] if args.key?(:google_plus_link)
  @is_parent = args[:is_parent] if args.key?(:is_parent)
  @is_published = args[:is_published] if args.key?(:is_published)
  @kind = args[:kind] if args.key?(:kind)
  @logo_url = args[:logo_url] if args.key?(:logo_url)
  @media_kit_link = args[:media_kit_link] if args.key?(:media_kit_link)
  @name = args[:name] if args.key?(:name)
  @overview = args[:overview] if args.key?(:overview)
  @profile_id = args[:profile_id] if args.key?(:profile_id)
  @programmatic_contact = args[:programmatic_contact] if args.key?(:programmatic_contact)
  @publisher_domains = args[:publisher_domains] if args.key?(:publisher_domains)
  @publisher_profile_id = args[:publisher_profile_id] if args.key?(:publisher_profile_id)
  @publisher_provided_forecast = args[:publisher_provided_forecast] if args.key?(:publisher_provided_forecast)
  @rate_card_info_link = args[:rate_card_info_link] if args.key?(:rate_card_info_link)
  @sample_page_link = args[:sample_page_link] if args.key?(:sample_page_link)
  @seller = args[:seller] if args.key?(:seller)
  @state = args[:state] if args.key?(:state)
  @top_headlines = args[:top_headlines] if args.key?(:top_headlines)
end