Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb
Overview
A link between a GA4 property and a Display & Video 360 advertiser.
Instance Attribute Summary collapse
-
#ads_personalization_enabled ⇒ Boolean
(also: #ads_personalization_enabled?)
Enables personalized advertising features with this integration.
-
#advertiser_display_name ⇒ String
Output only.
-
#advertiser_id ⇒ String
Immutable.
-
#campaign_data_sharing_enabled ⇒ Boolean
(also: #campaign_data_sharing_enabled?)
Immutable.
-
#cost_data_sharing_enabled ⇒ Boolean
(also: #cost_data_sharing_enabled?)
Immutable.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink
constructor
A new instance of GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink
Returns a new instance of GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink.
2312 2313 2314 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2312 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ads_personalization_enabled ⇒ Boolean Also known as: ads_personalization_enabled?
Enables personalized advertising features with this integration. If this field
is not set on create/update, it will be defaulted to true.
Corresponds to the JSON property adsPersonalizationEnabled
2273 2274 2275 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2273 def ads_personalization_enabled @ads_personalization_enabled end |
#advertiser_display_name ⇒ String
Output only. The display name of the Display & Video 360 Advertiser.
Corresponds to the JSON property advertiserDisplayName
2279 2280 2281 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2279 def advertiser_display_name @advertiser_display_name end |
#advertiser_id ⇒ String
Immutable. The Display & Video 360 Advertiser's advertiser ID.
Corresponds to the JSON property advertiserId
2284 2285 2286 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2284 def advertiser_id @advertiser_id end |
#campaign_data_sharing_enabled ⇒ Boolean Also known as: campaign_data_sharing_enabled?
Immutable. Enables the import of campaign data from Display & Video 360 into
the GA4 property. After link creation, this can only be updated from the
Display & Video 360 product. If this field is not set on create, it will be
defaulted to true.
Corresponds to the JSON property campaignDataSharingEnabled
2292 2293 2294 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2292 def campaign_data_sharing_enabled @campaign_data_sharing_enabled end |
#cost_data_sharing_enabled ⇒ Boolean Also known as: cost_data_sharing_enabled?
Immutable. Enables the import of cost data from Display & Video 360 into the
GA4 property. This can only be enabled if campaign_data_sharing_enabled is
enabled. After link creation, this can only be updated from the Display &
Video 360 product. If this field is not set on create, it will be defaulted to
true.
Corresponds to the JSON property costDataSharingEnabled
2302 2303 2304 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2302 def cost_data_sharing_enabled @cost_data_sharing_enabled end |
#name ⇒ String
Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
Format: properties/propertyId/displayVideo360AdvertiserLinks/linkId Note:
linkId is not the Display & Video 360 Advertiser ID
Corresponds to the JSON property name
2310 2311 2312 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2310 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2317 2318 2319 2320 2321 2322 2323 2324 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2317 def update!(**args) @ads_personalization_enabled = args[:ads_personalization_enabled] if args.key?(:ads_personalization_enabled) @advertiser_display_name = args[:advertiser_display_name] if args.key?(:advertiser_display_name) @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) @campaign_data_sharing_enabled = args[:campaign_data_sharing_enabled] if args.key?(:campaign_data_sharing_enabled) @cost_data_sharing_enabled = args[:cost_data_sharing_enabled] if args.key?(:cost_data_sharing_enabled) @name = args[:name] if args.key?(:name) end |