Class: Google::Apis::AuthorizedbuyersmarketplaceV1::MarketplaceTargeting
- Inherits:
-
Object
- Object
- Google::Apis::AuthorizedbuyersmarketplaceV1::MarketplaceTargeting
- 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
Targeting represents different criteria that can be used to target inventory. For example, they can choose to target inventory only if the user is in the US. Multiple types of targeting are always applied as a logical AND, unless noted otherwise.
Instance Attribute Summary collapse
-
#daypart_targeting ⇒ Google::Apis::AuthorizedbuyersmarketplaceV1::DayPartTargeting
Represents Daypart targeting.
-
#geo_targeting ⇒ Google::Apis::AuthorizedbuyersmarketplaceV1::CriteriaTargeting
Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs.
-
#inventory_size_targeting ⇒ Google::Apis::AuthorizedbuyersmarketplaceV1::InventorySizeTargeting
Represents the size of an ad unit that can be targeted on a bid request.
-
#placement_targeting ⇒ Google::Apis::AuthorizedbuyersmarketplaceV1::PlacementTargeting
Represents targeting about where the ads can appear, for example, certain sites or mobile applications.
-
#technology_targeting ⇒ Google::Apis::AuthorizedbuyersmarketplaceV1::TechnologyTargeting
Represents targeting about various types of technology.
-
#user_list_targeting ⇒ Google::Apis::AuthorizedbuyersmarketplaceV1::CriteriaTargeting
Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs.
-
#video_targeting ⇒ Google::Apis::AuthorizedbuyersmarketplaceV1::VideoTargeting
Represents targeting information about video.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MarketplaceTargeting
constructor
A new instance of MarketplaceTargeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MarketplaceTargeting
Returns a new instance of MarketplaceTargeting.
1180 1181 1182 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1180 def initialize(**args) update!(**args) end |
Instance Attribute Details
#daypart_targeting ⇒ Google::Apis::AuthorizedbuyersmarketplaceV1::DayPartTargeting
Represents Daypart targeting.
Corresponds to the JSON property daypartTargeting
1142 1143 1144 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1142 def daypart_targeting @daypart_targeting end |
#geo_targeting ⇒ Google::Apis::AuthorizedbuyersmarketplaceV1::CriteriaTargeting
Generic targeting used for targeting dimensions that contains a list of
included and excluded numeric IDs. This cannot be filtered using list filter
syntax.
Corresponds to the JSON property geoTargeting
1149 1150 1151 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1149 def geo_targeting @geo_targeting end |
#inventory_size_targeting ⇒ Google::Apis::AuthorizedbuyersmarketplaceV1::InventorySizeTargeting
Represents the size of an ad unit that can be targeted on a bid request.
Corresponds to the JSON property inventorySizeTargeting
1154 1155 1156 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1154 def inventory_size_targeting @inventory_size_targeting end |
#placement_targeting ⇒ Google::Apis::AuthorizedbuyersmarketplaceV1::PlacementTargeting
Represents targeting about where the ads can appear, for example, certain
sites or mobile applications. Different placement targeting types will be
logically OR'ed.
Corresponds to the JSON property placementTargeting
1161 1162 1163 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1161 def placement_targeting @placement_targeting end |
#technology_targeting ⇒ Google::Apis::AuthorizedbuyersmarketplaceV1::TechnologyTargeting
Represents targeting about various types of technology.
Corresponds to the JSON property technologyTargeting
1166 1167 1168 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1166 def technology_targeting @technology_targeting end |
#user_list_targeting ⇒ Google::Apis::AuthorizedbuyersmarketplaceV1::CriteriaTargeting
Generic targeting used for targeting dimensions that contains a list of
included and excluded numeric IDs. This cannot be filtered using list filter
syntax.
Corresponds to the JSON property userListTargeting
1173 1174 1175 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1173 def user_list_targeting @user_list_targeting end |
#video_targeting ⇒ Google::Apis::AuthorizedbuyersmarketplaceV1::VideoTargeting
Represents targeting information about video.
Corresponds to the JSON property videoTargeting
1178 1179 1180 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1178 def video_targeting @video_targeting end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1185 1186 1187 1188 1189 1190 1191 1192 1193 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1185 def update!(**args) @daypart_targeting = args[:daypart_targeting] if args.key?(:daypart_targeting) @geo_targeting = args[:geo_targeting] if args.key?(:geo_targeting) @inventory_size_targeting = args[:inventory_size_targeting] if args.key?(:inventory_size_targeting) @placement_targeting = args[:placement_targeting] if args.key?(:placement_targeting) @technology_targeting = args[:technology_targeting] if args.key?(:technology_targeting) @user_list_targeting = args[:user_list_targeting] if args.key?(:user_list_targeting) @video_targeting = args[:video_targeting] if args.key?(:video_targeting) end |