Class: Google::Apis::DfareportingV2_8::LandingPage
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DfareportingV2_8::LandingPage
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_8/classes.rb,
 generated/google/apis/dfareporting_v2_8/representations.rb,
 generated/google/apis/dfareporting_v2_8/representations.rb
Overview
Contains information about where a user's browser is taken after the user clicks an ad.
Instance Attribute Summary collapse
- 
  
    
      #default  ⇒ Boolean 
    
    
      (also: #default?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether or not this landing page will be assigned to any ads or creatives that do not have a landing page assigned explicitly. 
- 
  
    
      #id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    ID of this landing page. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Identifies what kind of resource this is. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Name of this landing page. 
- 
  
    
      #url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    URL of this landing page. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ LandingPage 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of LandingPage. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LandingPage
Returns a new instance of LandingPage
| 6814 6815 6816 | # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6814 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#default ⇒ Boolean Also known as: default?
Whether or not this landing page will be assigned to any ads or creatives that
do not have a landing page assigned explicitly. Only one default landing page
is allowed per campaign.
Corresponds to the JSON property default
| 6789 6790 6791 | # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6789 def default @default end | 
#id ⇒ Fixnum
ID of this landing page. This is a read-only, auto-generated field.
Corresponds to the JSON property id
| 6795 6796 6797 | # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6795 def id @id end | 
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#landingPage".
Corresponds to the JSON property kind
| 6801 6802 6803 | # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6801 def kind @kind end | 
#name ⇒ String
Name of this landing page. This is a required field. It must be less than 256
characters long, and must be unique among landing pages of the same campaign.
Corresponds to the JSON property name
| 6807 6808 6809 | # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6807 def name @name end | 
#url ⇒ String
URL of this landing page. This is a required field.
Corresponds to the JSON property url
| 6812 6813 6814 | # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6812 def url @url end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 6819 6820 6821 6822 6823 6824 6825 | # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6819 def update!(**args) @default = args[:default] if args.key?(:default) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @url = args[:url] if args.key?(:url) end |