Class: Google::Apis::Adexchangebuyer2V2beta1::PublisherProfile

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

Overview

Note: this resource requires whitelisting for access. Please contact your account manager for access to Marketplace resources. Represents a publisher profile in Marketplace. All fields are read only. All string fields are free-form text entered by the publisher unless noted otherwise.

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) ⇒ PublisherProfile

Returns a new instance of PublisherProfile



3569
3570
3571
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3569

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

Instance Attribute Details

#audience_descriptionString

Description on the publisher's audience. Corresponds to the JSON property audienceDescription

Returns:

  • (String)


3483
3484
3485
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3483

def audience_description
  @audience_description
end

#buyer_pitch_statementString

Statement explaining what's unique about publisher's business, and why buyers should partner with the publisher. Corresponds to the JSON property buyerPitchStatement

Returns:

  • (String)


3490
3491
3492
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3490

def buyer_pitch_statement
  @buyer_pitch_statement
end

#direct_deals_contactString

Contact information for direct reservation deals. This is free text entered by the publisher and may include information like names, phone numbers and email addresses. Corresponds to the JSON property directDealsContact

Returns:

  • (String)


3497
3498
3499
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3497

def direct_deals_contact
  @direct_deals_contact
end

#display_nameString

Name of the publisher profile. Corresponds to the JSON property displayName

Returns:

  • (String)


3502
3503
3504
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3502

def display_name
  @display_name
end

#domainsArray<String>

The list of domains represented in this publisher profile. Empty if this is a parent profile. These are top private domains, meaning that these will not contain a string like "photos.google.co.uk/123", but will instead contain "google.co.uk". Corresponds to the JSON property domains

Returns:

  • (Array<String>)


3511
3512
3513
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3511

def domains
  @domains
end

#google_plus_urlString

URL to publisher's Google+ page. Corresponds to the JSON property googlePlusUrl

Returns:

  • (String)


3516
3517
3518
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3516

def google_plus_url
  @google_plus_url
end

#logo_urlString

A Google public URL to the logo for this publisher profile. The logo is stored as a PNG, JPG, or GIF image. Corresponds to the JSON property logoUrl

Returns:

  • (String)


3523
3524
3525
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3523

def logo_url
  @logo_url
end

#media_kit_urlString

URL to additional marketing and sales materials. Corresponds to the JSON property mediaKitUrl

Returns:

  • (String)


3528
3529
3530
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3528

def media_kit_url
  @media_kit_url
end

#overviewString

Overview of the publisher. Corresponds to the JSON property overview

Returns:

  • (String)


3533
3534
3535
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3533

def overview
  @overview
end

#programmatic_deals_contactString

Contact information for programmatic deals. This is free text entered by the publisher and may include information like names, phone numbers and email addresses. Corresponds to the JSON property programmaticDealsContact

Returns:

  • (String)


3540
3541
3542
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3540

def programmatic_deals_contact
  @programmatic_deals_contact
end

#publisher_profile_idString

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

Returns:

  • (String)


3545
3546
3547
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3545

def publisher_profile_id
  @publisher_profile_id
end

#rate_card_info_urlString

URL to a publisher rate card. Corresponds to the JSON property rateCardInfoUrl

Returns:

  • (String)


3550
3551
3552
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3550

def rate_card_info_url
  @rate_card_info_url
end

#sample_page_urlString

URL to a sample content page. Corresponds to the JSON property samplePageUrl

Returns:

  • (String)


3555
3556
3557
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3555

def sample_page_url
  @sample_page_url
end

#sellerGoogle::Apis::Adexchangebuyer2V2beta1::Seller

Represents a seller of inventory. Each seller is identified by a unique Ad Manager account ID. Corresponds to the JSON property seller



3561
3562
3563
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3561

def seller
  @seller
end

#top_headlinesArray<String>

Up to three key metrics and rankings. Max 100 characters each. For example "#1 Mobile News Site for 20 Straight Months". Corresponds to the JSON property topHeadlines

Returns:

  • (Array<String>)


3567
3568
3569
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3567

def top_headlines
  @top_headlines
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3574

def update!(**args)
  @audience_description = args[:audience_description] if args.key?(:audience_description)
  @buyer_pitch_statement = args[:buyer_pitch_statement] if args.key?(:buyer_pitch_statement)
  @direct_deals_contact = args[:direct_deals_contact] if args.key?(:direct_deals_contact)
  @display_name = args[:display_name] if args.key?(:display_name)
  @domains = args[:domains] if args.key?(:domains)
  @google_plus_url = args[:google_plus_url] if args.key?(:google_plus_url)
  @logo_url = args[:logo_url] if args.key?(:logo_url)
  @media_kit_url = args[:media_kit_url] if args.key?(:media_kit_url)
  @overview = args[:overview] if args.key?(:overview)
  @programmatic_deals_contact = args[:programmatic_deals_contact] if args.key?(:programmatic_deals_contact)
  @publisher_profile_id = args[:publisher_profile_id] if args.key?(:publisher_profile_id)
  @rate_card_info_url = args[:rate_card_info_url] if args.key?(:rate_card_info_url)
  @sample_page_url = args[:sample_page_url] if args.key?(:sample_page_url)
  @seller = args[:seller] if args.key?(:seller)
  @top_headlines = args[:top_headlines] if args.key?(:top_headlines)
end