Class: Google::Apis::AuthorizedbuyersmarketplaceV1::PublisherProfile
- Inherits:
-
Object
- Object
- Google::Apis::AuthorizedbuyersmarketplaceV1::PublisherProfile
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb
Overview
The values in the publisher profile are supplied by the publisher. All fields are not filterable unless stated otherwise.
Instance Attribute Summary collapse
-
#audience_description ⇒ String
Description on the publisher's audience.
-
#direct_deals_contact ⇒ String
Contact information for direct reservation deals.
-
#display_name ⇒ String
Display name of the publisher profile.
-
#domains ⇒ Array<String>
The list of domains represented in this publisher profile.
-
#is_parent ⇒ Boolean
(also: #is_parent?)
Indicates if this profile is the parent profile of the seller.
-
#logo_url ⇒ String
A Google public URL to the logo for this publisher profile.
-
#media_kit_url ⇒ String
URL to additional marketing and sales materials.
-
#mobile_apps ⇒ Array<Google::Apis::AuthorizedbuyersmarketplaceV1::PublisherProfileMobileApplication>
The list of apps represented in this publisher profile.
-
#name ⇒ String
Name of the publisher profile.
-
#overview ⇒ String
Overview of the publisher.
-
#pitch_statement ⇒ String
Statement explaining what's unique about publisher's business, and why buyers should partner with the publisher.
-
#programmatic_deals_contact ⇒ String
Contact information for programmatic deals.
-
#publisher_code ⇒ String
A unique identifying code for the seller.
-
#sample_page_url ⇒ String
URL to a sample content page.
-
#top_headlines ⇒ Array<String>
Up to three key metrics and rankings.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PublisherProfile
constructor
A new instance of PublisherProfile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PublisherProfile
Returns a new instance of PublisherProfile.
1791 1792 1793 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1791 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audience_description ⇒ String
Description on the publisher's audience.
Corresponds to the JSON property audienceDescription
1696 1697 1698 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1696 def audience_description @audience_description end |
#direct_deals_contact ⇒ String
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
1703 1704 1705 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1703 def direct_deals_contact @direct_deals_contact end |
#display_name ⇒ String
Display name of the publisher profile. Can be used to filter the response of
the publisherProfiles.list method.
Corresponds to the JSON property displayName
1709 1710 1711 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1709 def display_name @display_name end |
#domains ⇒ Array<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". Can be used to filter the response of the publisherProfiles.
list method.
Corresponds to the JSON property domains
1718 1719 1720 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1718 def domains @domains end |
#is_parent ⇒ Boolean Also known as: is_parent?
Indicates if this profile is the parent profile of the seller. A parent
profile represents all the inventory from the seller, as opposed to child
profile that is created to brand a portion of inventory. One seller has only
one parent publisher profile, and can have multiple child profiles. See https:/
/support.google.com/admanager/answer/6035806 for details. Can be used to
filter the response of the publisherProfiles.list method by setting the filter
to "is_parent: true".
Corresponds to the JSON property isParent
1729 1730 1731 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1729 def is_parent @is_parent end |
#logo_url ⇒ String
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
1736 1737 1738 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1736 def logo_url @logo_url end |
#media_kit_url ⇒ String
URL to additional marketing and sales materials.
Corresponds to the JSON property mediaKitUrl
1741 1742 1743 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1741 def media_kit_url @media_kit_url end |
#mobile_apps ⇒ Array<Google::Apis::AuthorizedbuyersmarketplaceV1::PublisherProfileMobileApplication>
The list of apps represented in this publisher profile. Empty if this is a
parent profile.
Corresponds to the JSON property mobileApps
1747 1748 1749 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1747 def mobile_apps @mobile_apps end |
#name ⇒ String
Name of the publisher profile. Format: buyers/buyer/publisherProfiles/
publisher_profile`
Corresponds to the JSON propertyname`
1753 1754 1755 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1753 def name @name end |
#overview ⇒ String
Overview of the publisher.
Corresponds to the JSON property overview
1758 1759 1760 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1758 def overview @overview end |
#pitch_statement ⇒ String
Statement explaining what's unique about publisher's business, and why buyers
should partner with the publisher.
Corresponds to the JSON property pitchStatement
1764 1765 1766 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1764 def pitch_statement @pitch_statement end |
#programmatic_deals_contact ⇒ String
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
1771 1772 1773 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1771 def programmatic_deals_contact @programmatic_deals_contact end |
#publisher_code ⇒ String
A unique identifying code for the seller. This value is the same for all of
the seller's parent and child publisher profiles. Can be used to filter the
response of the publisherProfiles.list method.
Corresponds to the JSON property publisherCode
1778 1779 1780 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1778 def publisher_code @publisher_code end |
#sample_page_url ⇒ String
URL to a sample content page.
Corresponds to the JSON property samplePageUrl
1783 1784 1785 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1783 def sample_page_url @sample_page_url end |
#top_headlines ⇒ Array<String>
Up to three key metrics and rankings. For example, "#1 Mobile News Site for 20
Straight Months".
Corresponds to the JSON property topHeadlines
1789 1790 1791 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1789 def top_headlines @top_headlines end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1796 def update!(**args) @audience_description = args[:audience_description] if args.key?(:audience_description) @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) @is_parent = args[:is_parent] if args.key?(:is_parent) @logo_url = args[:logo_url] if args.key?(:logo_url) @media_kit_url = args[:media_kit_url] if args.key?(:media_kit_url) @mobile_apps = args[:mobile_apps] if args.key?(:mobile_apps) @name = args[:name] if args.key?(:name) @overview = args[:overview] if args.key?(:overview) @pitch_statement = args[:pitch_statement] if args.key?(:pitch_statement) @programmatic_deals_contact = args[:programmatic_deals_contact] if args.key?(:programmatic_deals_contact) @publisher_code = args[:publisher_code] if args.key?(:publisher_code) @sample_page_url = args[:sample_page_url] if args.key?(:sample_page_url) @top_headlines = args[:top_headlines] if args.key?(:top_headlines) end |