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

Constructor Details

#initialize(**args) ⇒ PublisherProfileApiProto

Returns a new instance of PublisherProfileApiProto.



3395
3396
3397
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3395

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

Instance Attribute Details

#audienceString

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

Returns:

  • (String)


3270
3271
3272
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3270

def audience
  @audience
end

#buyer_pitch_statementString

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

Returns:

  • (String)


3275
3276
3277
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3275

def buyer_pitch_statement
  @buyer_pitch_statement
end

#direct_contactString

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

Returns:

  • (String)


3280
3281
3282
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3280

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)


3285
3286
3287
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3285

def exchange
  @exchange
end

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

Returns:

  • (String)


3290
3291
3292
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3290

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)


3296
3297
3298
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3296

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)


3302
3303
3304
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3302

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)


3309
3310
3311
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3309

def kind
  @kind
end

#logo_urlString

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

Returns:

  • (String)


3314
3315
3316
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3314

def logo_url
  @logo_url
end

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

Returns:

  • (String)


3319
3320
3321
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3319

def media_kit_link
  @media_kit_link
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


3324
3325
3326
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3324

def name
  @name
end

#overviewString

Publisher provided overview. Corresponds to the JSON property overview

Returns:

  • (String)


3329
3330
3331
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3329

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)


3335
3336
3337
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3335

def profile_id
  @profile_id
end

#programmatic_contactString

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

Returns:

  • (String)


3340
3341
3342
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3340

def programmatic_contact
  @programmatic_contact
end

#publisher_app_idsArray<Fixnum>

The list of app IDs represented in this pubisher profile. Empty if this is a parent profile. Deprecated in favor of publisher_app. Corresponds to the JSON property publisherAppIds

Returns:

  • (Array<Fixnum>)


3346
3347
3348
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3346

def publisher_app_ids
  @publisher_app_ids
end

#publisher_appsArray<Google::Apis::AdexchangebuyerV1_4::MobileApplication>

The list of apps represented in this pubisher profile. Empty if this is a parent profile. Corresponds to the JSON property publisherApps



3352
3353
3354
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3352

def publisher_apps
  @publisher_apps
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>)


3358
3359
3360
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3358

def publisher_domains
  @publisher_domains
end

#publisher_profile_idString

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

Returns:

  • (String)


3363
3364
3365
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3363

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



3368
3369
3370
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3368

def publisher_provided_forecast
  @publisher_provided_forecast
end

Link to publisher rate card Corresponds to the JSON property rateCardInfoLink

Returns:

  • (String)


3373
3374
3375
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3373

def rate_card_info_link
  @rate_card_info_link
end

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

Returns:

  • (String)


3378
3379
3380
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3378

def sample_page_link
  @sample_page_link
end

#sellerGoogle::Apis::AdexchangebuyerV1_4::Seller

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



3383
3384
3385
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3383

def seller
  @seller
end

#stateString

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

Returns:

  • (String)


3388
3389
3390
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3388

def state
  @state
end

#top_headlinesArray<String>

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

Returns:

  • (Array<String>)


3393
3394
3395
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3393

def top_headlines
  @top_headlines
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3400

def update!(**args)
  @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_app_ids = args[:publisher_app_ids] if args.key?(:publisher_app_ids)
  @publisher_apps = args[:publisher_apps] if args.key?(:publisher_apps)
  @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