google-apis-displayvideo_v2 0.9.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1834,7 +1834,32 @@ module Google
|
|
1834
1834
|
# Required. The ID of the insertion order the assigned targeting option belongs
|
1835
1835
|
# to.
|
1836
1836
|
# @param [String] targeting_type
|
1837
|
-
# Required. Identifies the type of this assigned targeting option.
|
1837
|
+
# Required. Identifies the type of this assigned targeting option. Supported
|
1838
|
+
# targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` *
|
1839
|
+
# `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `
|
1840
|
+
# TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`
|
1841
|
+
# * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `
|
1842
|
+
# TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `
|
1843
|
+
# TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `
|
1844
|
+
# TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `
|
1845
|
+
# TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `
|
1846
|
+
# TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `
|
1847
|
+
# TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `
|
1848
|
+
# TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
|
1849
|
+
# * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `
|
1850
|
+
# TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `
|
1851
|
+
# TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `
|
1852
|
+
# TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `
|
1853
|
+
# TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `
|
1854
|
+
# TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `
|
1855
|
+
# TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `
|
1856
|
+
# TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `
|
1857
|
+
# TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `
|
1858
|
+
# TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `
|
1859
|
+
# TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` *
|
1860
|
+
# `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `
|
1861
|
+
# TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `
|
1862
|
+
# TARGETING_TYPE_VIEWABILITY`
|
1838
1863
|
# @param [String] assigned_targeting_option_id
|
1839
1864
|
# Required. An identifier unique to the targeting type in this insertion order
|
1840
1865
|
# that identifies the assigned targeting option being requested.
|
@@ -1874,7 +1899,32 @@ module Google
|
|
1874
1899
|
# @param [Fixnum] insertion_order_id
|
1875
1900
|
# Required. The ID of the insertion order to list assigned targeting options for.
|
1876
1901
|
# @param [String] targeting_type
|
1877
|
-
# Required. Identifies the type of assigned targeting options to list.
|
1902
|
+
# Required. Identifies the type of assigned targeting options to list. Supported
|
1903
|
+
# targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` *
|
1904
|
+
# `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `
|
1905
|
+
# TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`
|
1906
|
+
# * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `
|
1907
|
+
# TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `
|
1908
|
+
# TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `
|
1909
|
+
# TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `
|
1910
|
+
# TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `
|
1911
|
+
# TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `
|
1912
|
+
# TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `
|
1913
|
+
# TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
|
1914
|
+
# * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `
|
1915
|
+
# TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `
|
1916
|
+
# TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `
|
1917
|
+
# TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `
|
1918
|
+
# TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `
|
1919
|
+
# TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `
|
1920
|
+
# TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `
|
1921
|
+
# TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `
|
1922
|
+
# TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `
|
1923
|
+
# TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `
|
1924
|
+
# TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` *
|
1925
|
+
# `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `
|
1926
|
+
# TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `
|
1927
|
+
# TARGETING_TYPE_VIEWABILITY`
|
1878
1928
|
# @param [String] filter
|
1879
1929
|
# Allows filtering by assigned targeting option properties. Supported syntax: *
|
1880
1930
|
# Filter expressions are made up of one or more restrictions. * Restrictions can
|
@@ -2084,7 +2134,7 @@ module Google
|
|
2084
2134
|
# be added to the field name. Example: `targetingType desc`.
|
2085
2135
|
# @param [Fixnum] page_size
|
2086
2136
|
# Requested page size. The size must be an integer between `1` and `5000`. If
|
2087
|
-
# unspecified, the default is
|
2137
|
+
# unspecified, the default is `5000`. Returns error code `INVALID_ARGUMENT` if
|
2088
2138
|
# an invalid value is specified.
|
2089
2139
|
# @param [String] page_token
|
2090
2140
|
# A token that lets the client fetch the next page of results. Typically, this
|
@@ -2465,7 +2515,32 @@ module Google
|
|
2465
2515
|
# @param [Fixnum] line_item_id
|
2466
2516
|
# Required. The ID of the line item the assigned targeting option will belong to.
|
2467
2517
|
# @param [String] targeting_type
|
2468
|
-
# Required. Identifies the type of this assigned targeting option.
|
2518
|
+
# Required. Identifies the type of this assigned targeting option. Supported
|
2519
|
+
# targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` *
|
2520
|
+
# `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `
|
2521
|
+
# TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`
|
2522
|
+
# * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `
|
2523
|
+
# TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `
|
2524
|
+
# TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `
|
2525
|
+
# TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `
|
2526
|
+
# TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `
|
2527
|
+
# TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `
|
2528
|
+
# TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `
|
2529
|
+
# TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
|
2530
|
+
# * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `
|
2531
|
+
# TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `
|
2532
|
+
# TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `
|
2533
|
+
# TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `
|
2534
|
+
# TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `
|
2535
|
+
# TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `
|
2536
|
+
# TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `
|
2537
|
+
# TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `
|
2538
|
+
# TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `
|
2539
|
+
# TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `
|
2540
|
+
# TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` *
|
2541
|
+
# `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `
|
2542
|
+
# TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `
|
2543
|
+
# TARGETING_TYPE_VIEWABILITY`
|
2469
2544
|
# @param [Google::Apis::DisplayvideoV2::AssignedTargetingOption] assigned_targeting_option_object
|
2470
2545
|
# @param [String] fields
|
2471
2546
|
# Selector specifying which fields to include in a partial response.
|
@@ -2507,7 +2582,32 @@ module Google
|
|
2507
2582
|
# @param [Fixnum] line_item_id
|
2508
2583
|
# Required. The ID of the line item the assigned targeting option belongs to.
|
2509
2584
|
# @param [String] targeting_type
|
2510
|
-
# Required. Identifies the type of this assigned targeting option.
|
2585
|
+
# Required. Identifies the type of this assigned targeting option. Supported
|
2586
|
+
# targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` *
|
2587
|
+
# `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `
|
2588
|
+
# TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`
|
2589
|
+
# * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `
|
2590
|
+
# TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `
|
2591
|
+
# TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `
|
2592
|
+
# TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `
|
2593
|
+
# TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `
|
2594
|
+
# TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `
|
2595
|
+
# TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `
|
2596
|
+
# TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
|
2597
|
+
# * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `
|
2598
|
+
# TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `
|
2599
|
+
# TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `
|
2600
|
+
# TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `
|
2601
|
+
# TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `
|
2602
|
+
# TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `
|
2603
|
+
# TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `
|
2604
|
+
# TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `
|
2605
|
+
# TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `
|
2606
|
+
# TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `
|
2607
|
+
# TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` *
|
2608
|
+
# `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `
|
2609
|
+
# TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `
|
2610
|
+
# TARGETING_TYPE_VIEWABILITY`
|
2511
2611
|
# @param [String] assigned_targeting_option_id
|
2512
2612
|
# Required. The ID of the assigned targeting option to delete.
|
2513
2613
|
# @param [String] fields
|
@@ -2546,7 +2646,35 @@ module Google
|
|
2546
2646
|
# @param [Fixnum] line_item_id
|
2547
2647
|
# Required. The ID of the line item the assigned targeting option belongs to.
|
2548
2648
|
# @param [String] targeting_type
|
2549
|
-
# Required. Identifies the type of this assigned targeting option.
|
2649
|
+
# Required. Identifies the type of this assigned targeting option. Supported
|
2650
|
+
# targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` *
|
2651
|
+
# `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `
|
2652
|
+
# TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`
|
2653
|
+
# * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `
|
2654
|
+
# TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `
|
2655
|
+
# TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `
|
2656
|
+
# TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `
|
2657
|
+
# TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `
|
2658
|
+
# TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `
|
2659
|
+
# TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `
|
2660
|
+
# TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
|
2661
|
+
# * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `
|
2662
|
+
# TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `
|
2663
|
+
# TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `
|
2664
|
+
# TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `
|
2665
|
+
# TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `
|
2666
|
+
# TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `
|
2667
|
+
# TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `
|
2668
|
+
# TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `
|
2669
|
+
# TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `
|
2670
|
+
# TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `
|
2671
|
+
# TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` *
|
2672
|
+
# `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `
|
2673
|
+
# TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `
|
2674
|
+
# TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_YOUTUBE_CHANNEL` (only for `
|
2675
|
+
# LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * `
|
2676
|
+
# TARGETING_TYPE_YOUTUBE_VIDEO` (only for `
|
2677
|
+
# LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items)
|
2550
2678
|
# @param [String] assigned_targeting_option_id
|
2551
2679
|
# Required. An identifier unique to the targeting type in this line item that
|
2552
2680
|
# identifies the assigned targeting option being requested.
|
@@ -2586,7 +2714,35 @@ module Google
|
|
2586
2714
|
# @param [Fixnum] line_item_id
|
2587
2715
|
# Required. The ID of the line item to list assigned targeting options for.
|
2588
2716
|
# @param [String] targeting_type
|
2589
|
-
# Required. Identifies the type of assigned targeting options to list.
|
2717
|
+
# Required. Identifies the type of assigned targeting options to list. Supported
|
2718
|
+
# targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` *
|
2719
|
+
# `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `
|
2720
|
+
# TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`
|
2721
|
+
# * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `
|
2722
|
+
# TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `
|
2723
|
+
# TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `
|
2724
|
+
# TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `
|
2725
|
+
# TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `
|
2726
|
+
# TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `
|
2727
|
+
# TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `
|
2728
|
+
# TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
|
2729
|
+
# * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `
|
2730
|
+
# TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `
|
2731
|
+
# TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `
|
2732
|
+
# TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `
|
2733
|
+
# TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `
|
2734
|
+
# TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `
|
2735
|
+
# TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `
|
2736
|
+
# TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `
|
2737
|
+
# TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `
|
2738
|
+
# TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `
|
2739
|
+
# TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` *
|
2740
|
+
# `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `
|
2741
|
+
# TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `
|
2742
|
+
# TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_YOUTUBE_CHANNEL` (only for `
|
2743
|
+
# LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * `
|
2744
|
+
# TARGETING_TYPE_YOUTUBE_VIDEO` (only for `
|
2745
|
+
# LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items)
|
2590
2746
|
# @param [String] filter
|
2591
2747
|
# Allows filtering by assigned targeting option properties. Supported syntax: *
|
2592
2748
|
# Filter expressions are made up of one or more restrictions. * Restrictions can
|
@@ -3711,7 +3867,8 @@ module Google
|
|
3711
3867
|
# Required. Identifies the type of this assigned targeting option. Supported
|
3712
3868
|
# targeting types: * `TARGETING_TYPE_CHANNEL` * `
|
3713
3869
|
# TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `
|
3714
|
-
# TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`
|
3870
|
+
# TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` *
|
3871
|
+
# `TARGETING_TYPE_YOUTUBE_CHANNEL`
|
3715
3872
|
# @param [String] assigned_targeting_option_id
|
3716
3873
|
# Required. An identifier unique to the targeting type in this advertiser that
|
3717
3874
|
# identifies the assigned targeting option being requested.
|
@@ -3751,7 +3908,8 @@ module Google
|
|
3751
3908
|
# Required. Identifies the type of assigned targeting options to list. Supported
|
3752
3909
|
# targeting types: * `TARGETING_TYPE_CHANNEL` * `
|
3753
3910
|
# TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `
|
3754
|
-
# TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`
|
3911
|
+
# TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` *
|
3912
|
+
# `TARGETING_TYPE_YOUTUBE_CHANNEL`
|
3755
3913
|
# @param [String] filter
|
3756
3914
|
# Allows filtering by assigned targeting option properties. Supported syntax: *
|
3757
3915
|
# Filter expressions are made up of one or more restrictions. * Restrictions can
|
@@ -3806,6 +3964,375 @@ module Google
|
|
3806
3964
|
execute_or_queue_command(command, &block)
|
3807
3965
|
end
|
3808
3966
|
|
3967
|
+
# Gets a YouTube ad group ad.
|
3968
|
+
# @param [Fixnum] advertiser_id
|
3969
|
+
# Required. The ID of the advertiser this ad group ad belongs to.
|
3970
|
+
# @param [Fixnum] youtube_ad_group_ad_id
|
3971
|
+
# Required. The ID of the ad group ad to fetch.
|
3972
|
+
# @param [String] fields
|
3973
|
+
# Selector specifying which fields to include in a partial response.
|
3974
|
+
# @param [String] quota_user
|
3975
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3976
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3977
|
+
# @param [Google::Apis::RequestOptions] options
|
3978
|
+
# Request-specific options
|
3979
|
+
#
|
3980
|
+
# @yield [result, err] Result & error if block supplied
|
3981
|
+
# @yieldparam result [Google::Apis::DisplayvideoV2::YoutubeAdGroupAd] parsed result object
|
3982
|
+
# @yieldparam err [StandardError] error object if request failed
|
3983
|
+
#
|
3984
|
+
# @return [Google::Apis::DisplayvideoV2::YoutubeAdGroupAd]
|
3985
|
+
#
|
3986
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3987
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3988
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3989
|
+
def get_advertiser_youtube_ad_group_ad(advertiser_id, youtube_ad_group_ad_id, fields: nil, quota_user: nil, options: nil, &block)
|
3990
|
+
command = make_simple_command(:get, 'v2/advertisers/{+advertiserId}/youtubeAdGroupAds/{+youtubeAdGroupAdId}', options)
|
3991
|
+
command.response_representation = Google::Apis::DisplayvideoV2::YoutubeAdGroupAd::Representation
|
3992
|
+
command.response_class = Google::Apis::DisplayvideoV2::YoutubeAdGroupAd
|
3993
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
3994
|
+
command.params['youtubeAdGroupAdId'] = youtube_ad_group_ad_id unless youtube_ad_group_ad_id.nil?
|
3995
|
+
command.query['fields'] = fields unless fields.nil?
|
3996
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3997
|
+
execute_or_queue_command(command, &block)
|
3998
|
+
end
|
3999
|
+
|
4000
|
+
# Lists YouTube ad group ads.
|
4001
|
+
# @param [Fixnum] advertiser_id
|
4002
|
+
# Required. The ID of the advertiser the ad groups belongs to.
|
4003
|
+
# @param [String] filter
|
4004
|
+
# Allows filtering by custom YouTube ad group ad fields. Supported syntax: *
|
4005
|
+
# Filter expressions are made up of one or more restrictions. * Restrictions can
|
4006
|
+
# be combined by `AND` and `OR`. Only the restrictions for * the same field can
|
4007
|
+
# be combined by `OR`. A sequence of restrictions * implicitly uses `AND`. * A
|
4008
|
+
# restriction has the form of ``field` `operator` `value``. * The operator must
|
4009
|
+
# be `EQUALS (=)`. * Supported properties: - `adGroupId` - `displayName` - `
|
4010
|
+
# entityStatus` - `adGroupAdId` Examples: * All ad group ads under an ad group: `
|
4011
|
+
# adGroupId="1234"` and its * entityStatus is `ENTITY_STATUS_ACTIVE` or `
|
4012
|
+
# ENTITY_STATUS_PAUSED`: `(entityStatus="ENTITY_STATUS_ACTIVE" OR entityStatus="
|
4013
|
+
# ENTITY_STATUS_PAUSED") AND adGroupId="12345"` The length of this field should
|
4014
|
+
# be no more than 500 characters.
|
4015
|
+
# @param [String] order_by
|
4016
|
+
# Field by which to sort the list. Acceptable values are: * `displayName` (
|
4017
|
+
# default) * `entityStatus` The default sorting order is ascending. To specify
|
4018
|
+
# descending order for a field, a suffix "desc" should be added to the field
|
4019
|
+
# name. Example: `displayName desc`.
|
4020
|
+
# @param [Fixnum] page_size
|
4021
|
+
# Requested page size. Must be between `1` and `100`. If unspecified will
|
4022
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
4023
|
+
# specified.
|
4024
|
+
# @param [String] page_token
|
4025
|
+
# A token identifying a page of results the server should return. Typically,
|
4026
|
+
# this is the value of next_page_token returned from the previous call to `
|
4027
|
+
# ListYoutubeAdGroupAds` method. If not specified, the first page of results
|
4028
|
+
# will be returned.
|
4029
|
+
# @param [String] fields
|
4030
|
+
# Selector specifying which fields to include in a partial response.
|
4031
|
+
# @param [String] quota_user
|
4032
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4033
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4034
|
+
# @param [Google::Apis::RequestOptions] options
|
4035
|
+
# Request-specific options
|
4036
|
+
#
|
4037
|
+
# @yield [result, err] Result & error if block supplied
|
4038
|
+
# @yieldparam result [Google::Apis::DisplayvideoV2::ListYoutubeAdGroupAdsResponse] parsed result object
|
4039
|
+
# @yieldparam err [StandardError] error object if request failed
|
4040
|
+
#
|
4041
|
+
# @return [Google::Apis::DisplayvideoV2::ListYoutubeAdGroupAdsResponse]
|
4042
|
+
#
|
4043
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4044
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4045
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4046
|
+
def list_advertiser_youtube_ad_group_ads(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4047
|
+
command = make_simple_command(:get, 'v2/advertisers/{+advertiserId}/youtubeAdGroupAds', options)
|
4048
|
+
command.response_representation = Google::Apis::DisplayvideoV2::ListYoutubeAdGroupAdsResponse::Representation
|
4049
|
+
command.response_class = Google::Apis::DisplayvideoV2::ListYoutubeAdGroupAdsResponse
|
4050
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
4051
|
+
command.query['filter'] = filter unless filter.nil?
|
4052
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
4053
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
4054
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
4055
|
+
command.query['fields'] = fields unless fields.nil?
|
4056
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4057
|
+
execute_or_queue_command(command, &block)
|
4058
|
+
end
|
4059
|
+
|
4060
|
+
# Lists assigned targeting options for multiple YouTube ad groups across
|
4061
|
+
# targeting types. Inherieted assigned targeting options are not included.
|
4062
|
+
# @param [Fixnum] advertiser_id
|
4063
|
+
# Required. The ID of the advertiser the line items belongs to.
|
4064
|
+
# @param [String] filter
|
4065
|
+
# Allows filtering by assigned targeting option properties. Supported syntax: *
|
4066
|
+
# Filter expressions are made up of one or more restrictions. * Restrictions can
|
4067
|
+
# be combined by the logical operator `OR` on the same field. * A restriction
|
4068
|
+
# has the form of ``field` `operator` `value``. * The operator must be `EQUALS (=
|
4069
|
+
# )`. * Supported fields: - `targetingType` Examples: * AssignedTargetingOptions
|
4070
|
+
# of targeting type TARGETING_TYPE_YOUTUBE_VIDEO or
|
4071
|
+
# TARGETING_TYPE_YOUTUBE_CHANNEL `targetingType="TARGETING_TYPE_YOUTUBE_VIDEO"
|
4072
|
+
# OR targetingType="TARGETING_TYPE_YOUTUBE_CHANNEL"` The length of this field
|
4073
|
+
# should be no more than 500 characters.
|
4074
|
+
# @param [String] order_by
|
4075
|
+
# Field by which to sort the list. Acceptable values are: * `youtubeAdGroupId` (
|
4076
|
+
# default) * `assignedTargetingOption.targetingType` The default sorting order
|
4077
|
+
# is ascending. To specify descending order for a field, a suffix "desc" should
|
4078
|
+
# be added to the field name. Example: `targetingType desc`.
|
4079
|
+
# @param [Fixnum] page_size
|
4080
|
+
# Requested page size. The size must be an integer between `1` and `5000`. If
|
4081
|
+
# unspecified, the default is `5000`. Returns error code `INVALID_ARGUMENT` if
|
4082
|
+
# an invalid value is specified.
|
4083
|
+
# @param [String] page_token
|
4084
|
+
# A token that lets the client fetch the next page of results. Typically, this
|
4085
|
+
# is the value of next_page_token returned from the previous call to the `
|
4086
|
+
# BulkListAdGroupAssignedTargetingOptions` method. If not specified, the first
|
4087
|
+
# page of results will be returned.
|
4088
|
+
# @param [Array<Fixnum>, Fixnum] youtube_ad_group_ids
|
4089
|
+
# Required. The IDs of the youtube ad groups to list assigned targeting options
|
4090
|
+
# for.
|
4091
|
+
# @param [String] fields
|
4092
|
+
# Selector specifying which fields to include in a partial response.
|
4093
|
+
# @param [String] quota_user
|
4094
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4095
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4096
|
+
# @param [Google::Apis::RequestOptions] options
|
4097
|
+
# Request-specific options
|
4098
|
+
#
|
4099
|
+
# @yield [result, err] Result & error if block supplied
|
4100
|
+
# @yieldparam result [Google::Apis::DisplayvideoV2::BulkListAdGroupAssignedTargetingOptionsResponse] parsed result object
|
4101
|
+
# @yieldparam err [StandardError] error object if request failed
|
4102
|
+
#
|
4103
|
+
# @return [Google::Apis::DisplayvideoV2::BulkListAdGroupAssignedTargetingOptionsResponse]
|
4104
|
+
#
|
4105
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4106
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4107
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4108
|
+
def bulk_advertiser_youtube_ad_group_list_ad_group_assigned_targeting_options(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, youtube_ad_group_ids: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4109
|
+
command = make_simple_command(:get, 'v2/advertisers/{+advertiserId}/youtubeAdGroups:bulkListAdGroupAssignedTargetingOptions', options)
|
4110
|
+
command.response_representation = Google::Apis::DisplayvideoV2::BulkListAdGroupAssignedTargetingOptionsResponse::Representation
|
4111
|
+
command.response_class = Google::Apis::DisplayvideoV2::BulkListAdGroupAssignedTargetingOptionsResponse
|
4112
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
4113
|
+
command.query['filter'] = filter unless filter.nil?
|
4114
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
4115
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
4116
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
4117
|
+
command.query['youtubeAdGroupIds'] = youtube_ad_group_ids unless youtube_ad_group_ids.nil?
|
4118
|
+
command.query['fields'] = fields unless fields.nil?
|
4119
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4120
|
+
execute_or_queue_command(command, &block)
|
4121
|
+
end
|
4122
|
+
|
4123
|
+
# Gets a YouTube ad group.
|
4124
|
+
# @param [Fixnum] advertiser_id
|
4125
|
+
# Required. The ID of the advertiser this ad group belongs to.
|
4126
|
+
# @param [Fixnum] youtube_ad_group_id
|
4127
|
+
# Required. The ID of the ad group to fetch.
|
4128
|
+
# @param [String] fields
|
4129
|
+
# Selector specifying which fields to include in a partial response.
|
4130
|
+
# @param [String] quota_user
|
4131
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4132
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4133
|
+
# @param [Google::Apis::RequestOptions] options
|
4134
|
+
# Request-specific options
|
4135
|
+
#
|
4136
|
+
# @yield [result, err] Result & error if block supplied
|
4137
|
+
# @yieldparam result [Google::Apis::DisplayvideoV2::YoutubeAdGroup] parsed result object
|
4138
|
+
# @yieldparam err [StandardError] error object if request failed
|
4139
|
+
#
|
4140
|
+
# @return [Google::Apis::DisplayvideoV2::YoutubeAdGroup]
|
4141
|
+
#
|
4142
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4143
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4144
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4145
|
+
def get_advertiser_youtube_ad_group(advertiser_id, youtube_ad_group_id, fields: nil, quota_user: nil, options: nil, &block)
|
4146
|
+
command = make_simple_command(:get, 'v2/advertisers/{+advertiserId}/youtubeAdGroups/{+youtubeAdGroupId}', options)
|
4147
|
+
command.response_representation = Google::Apis::DisplayvideoV2::YoutubeAdGroup::Representation
|
4148
|
+
command.response_class = Google::Apis::DisplayvideoV2::YoutubeAdGroup
|
4149
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
4150
|
+
command.params['youtubeAdGroupId'] = youtube_ad_group_id unless youtube_ad_group_id.nil?
|
4151
|
+
command.query['fields'] = fields unless fields.nil?
|
4152
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4153
|
+
execute_or_queue_command(command, &block)
|
4154
|
+
end
|
4155
|
+
|
4156
|
+
# Lists YouTube ad groups.
|
4157
|
+
# @param [Fixnum] advertiser_id
|
4158
|
+
# Required. The ID of the advertiser the ad groups belongs to.
|
4159
|
+
# @param [String] filter
|
4160
|
+
# Allows filtering by custom YouTube ad group fields. Supported syntax: * Filter
|
4161
|
+
# expressions are made up of one or more restrictions. * Restrictions can be
|
4162
|
+
# combined by `AND` and `OR`. Only the restrictions for * the same field can be
|
4163
|
+
# combined by `OR`. A sequence of restrictions * implicitly uses `AND`. * A
|
4164
|
+
# restriction has the form of ``field` `operator` `value``. * The operator must
|
4165
|
+
# be `EQUALS (=)`. * Supported properties: - `adGroupId` - `displayName` - `
|
4166
|
+
# entityStatus` - `lineItemId` - `adGroupFormat` Examples: * All ad groups under
|
4167
|
+
# an line item: `lineItemId="1234"` * All `ENTITY_STATUS_ACTIVE` or `
|
4168
|
+
# ENTITY_STATUS_PAUSED` and `YOUTUBE_AND_PARTNERS_AD_GROUP_FORMAT_IN_STREAM` ad
|
4169
|
+
# groups under an advertiser: `(entityStatus="ENTITY_STATUS_ACTIVE" OR
|
4170
|
+
# entityStatus="ENTITY_STATUS_PAUSED") AND adGroupFormat="
|
4171
|
+
# YOUTUBE_AND_PARTNERS_AD_GROUP_FORMAT_IN_STREAM"` The length of this field
|
4172
|
+
# should be no more than 500 characters.
|
4173
|
+
# @param [String] order_by
|
4174
|
+
# Field by which to sort the list. Acceptable values are: * `displayName` (
|
4175
|
+
# default) * `entityStatus` The default sorting order is ascending. To specify
|
4176
|
+
# descending order for a field, a suffix "desc" should be added to the field
|
4177
|
+
# name. Example: `displayName desc`.
|
4178
|
+
# @param [Fixnum] page_size
|
4179
|
+
# Requested page size. Must be between `1` and `200`. If unspecified will
|
4180
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
4181
|
+
# specified.
|
4182
|
+
# @param [String] page_token
|
4183
|
+
# A token identifying a page of results the server should return. Typically,
|
4184
|
+
# this is the value of next_page_token returned from the previous call to `
|
4185
|
+
# ListYoutubeAdGroups` method. If not specified, the first page of results will
|
4186
|
+
# be returned.
|
4187
|
+
# @param [String] fields
|
4188
|
+
# Selector specifying which fields to include in a partial response.
|
4189
|
+
# @param [String] quota_user
|
4190
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4191
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4192
|
+
# @param [Google::Apis::RequestOptions] options
|
4193
|
+
# Request-specific options
|
4194
|
+
#
|
4195
|
+
# @yield [result, err] Result & error if block supplied
|
4196
|
+
# @yieldparam result [Google::Apis::DisplayvideoV2::ListYoutubeAdGroupsResponse] parsed result object
|
4197
|
+
# @yieldparam err [StandardError] error object if request failed
|
4198
|
+
#
|
4199
|
+
# @return [Google::Apis::DisplayvideoV2::ListYoutubeAdGroupsResponse]
|
4200
|
+
#
|
4201
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4202
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4203
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4204
|
+
def list_advertiser_youtube_ad_groups(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4205
|
+
command = make_simple_command(:get, 'v2/advertisers/{+advertiserId}/youtubeAdGroups', options)
|
4206
|
+
command.response_representation = Google::Apis::DisplayvideoV2::ListYoutubeAdGroupsResponse::Representation
|
4207
|
+
command.response_class = Google::Apis::DisplayvideoV2::ListYoutubeAdGroupsResponse
|
4208
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
4209
|
+
command.query['filter'] = filter unless filter.nil?
|
4210
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
4211
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
4212
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
4213
|
+
command.query['fields'] = fields unless fields.nil?
|
4214
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4215
|
+
execute_or_queue_command(command, &block)
|
4216
|
+
end
|
4217
|
+
|
4218
|
+
# Gets a single targeting option assigned to a YouTube ad group. Inherited
|
4219
|
+
# assigned targeting options are not included.
|
4220
|
+
# @param [Fixnum] advertiser_id
|
4221
|
+
# Required. The ID of the advertiser the ad group belongs to.
|
4222
|
+
# @param [Fixnum] youtube_ad_group_id
|
4223
|
+
# Required. The ID of the ad group the assigned targeting option belongs to.
|
4224
|
+
# @param [String] targeting_type
|
4225
|
+
# Required. Identifies the type of this assigned targeting option. Supported
|
4226
|
+
# targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` *
|
4227
|
+
# `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `
|
4228
|
+
# TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_GENDER` * `
|
4229
|
+
# TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_KEYWORD` * `
|
4230
|
+
# TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SESSION_POSITION` * `
|
4231
|
+
# TARGETING_TYPE_URL` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `
|
4232
|
+
# TARGETING_TYPE_YOUTUBE_VIDEO`
|
4233
|
+
# @param [String] assigned_targeting_option_id
|
4234
|
+
# Required. An identifier unique to the targeting type in this line item that
|
4235
|
+
# identifies the assigned targeting option being requested.
|
4236
|
+
# @param [String] fields
|
4237
|
+
# Selector specifying which fields to include in a partial response.
|
4238
|
+
# @param [String] quota_user
|
4239
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4240
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4241
|
+
# @param [Google::Apis::RequestOptions] options
|
4242
|
+
# Request-specific options
|
4243
|
+
#
|
4244
|
+
# @yield [result, err] Result & error if block supplied
|
4245
|
+
# @yieldparam result [Google::Apis::DisplayvideoV2::AssignedTargetingOption] parsed result object
|
4246
|
+
# @yieldparam err [StandardError] error object if request failed
|
4247
|
+
#
|
4248
|
+
# @return [Google::Apis::DisplayvideoV2::AssignedTargetingOption]
|
4249
|
+
#
|
4250
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4251
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4252
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4253
|
+
def get_advertiser_youtube_ad_group_targeting_type_assigned_targeting_option(advertiser_id, youtube_ad_group_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block)
|
4254
|
+
command = make_simple_command(:get, 'v2/advertisers/{+advertiserId}/youtubeAdGroups/{+youtubeAdGroupId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
|
4255
|
+
command.response_representation = Google::Apis::DisplayvideoV2::AssignedTargetingOption::Representation
|
4256
|
+
command.response_class = Google::Apis::DisplayvideoV2::AssignedTargetingOption
|
4257
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
4258
|
+
command.params['youtubeAdGroupId'] = youtube_ad_group_id unless youtube_ad_group_id.nil?
|
4259
|
+
command.params['targetingType'] = targeting_type unless targeting_type.nil?
|
4260
|
+
command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
|
4261
|
+
command.query['fields'] = fields unless fields.nil?
|
4262
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4263
|
+
execute_or_queue_command(command, &block)
|
4264
|
+
end
|
4265
|
+
|
4266
|
+
# Lists the targeting options assigned to a YouTube ad group. Inherited assigned
|
4267
|
+
# targeting options are not included.
|
4268
|
+
# @param [Fixnum] advertiser_id
|
4269
|
+
# Required. The ID of the advertiser the ad group belongs to.
|
4270
|
+
# @param [Fixnum] youtube_ad_group_id
|
4271
|
+
# Required. The ID of the ad group to list assigned targeting options for.
|
4272
|
+
# @param [String] targeting_type
|
4273
|
+
# Required. Identifies the type of assigned targeting options to list. Supported
|
4274
|
+
# targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` *
|
4275
|
+
# `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `
|
4276
|
+
# TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_GENDER` * `
|
4277
|
+
# TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_KEYWORD` * `
|
4278
|
+
# TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SESSION_POSITION` * `
|
4279
|
+
# TARGETING_TYPE_URL` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `
|
4280
|
+
# TARGETING_TYPE_YOUTUBE_VIDEO`
|
4281
|
+
# @param [String] filter
|
4282
|
+
# Allows filtering by assigned targeting option properties. Supported syntax: *
|
4283
|
+
# Filter expressions are made up of one or more restrictions. * Restrictions can
|
4284
|
+
# be combined by the logical operator `OR`. * A restriction has the form of ``
|
4285
|
+
# field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
|
4286
|
+
# fields: - `assignedTargetingOptionId` Examples: * AssignedTargetingOptions
|
4287
|
+
# with ID 1 or 2 `assignedTargetingOptionId="1" OR assignedTargetingOptionId="2"`
|
4288
|
+
# The length of this field should be no more than 500 characters.
|
4289
|
+
# @param [String] order_by
|
4290
|
+
# Field by which to sort the list. Acceptable values are: * `
|
4291
|
+
# assignedTargetingOptionId` (default) The default sorting order is ascending.
|
4292
|
+
# To specify descending order for a field, a suffix "desc" should be added to
|
4293
|
+
# the field name. Example: `assignedTargetingOptionId desc`.
|
4294
|
+
# @param [Fixnum] page_size
|
4295
|
+
# Requested page size. Must be between `1` and `5000`. If unspecified will
|
4296
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
4297
|
+
# specified.
|
4298
|
+
# @param [String] page_token
|
4299
|
+
# A token identifying a page of results the server should return. Typically,
|
4300
|
+
# this is the value of next_page_token returned from the previous call to `
|
4301
|
+
# ListYoutubeAdGroupAssignedTargetingOptions` method. If not specified, the
|
4302
|
+
# first page of results will be returned.
|
4303
|
+
# @param [String] fields
|
4304
|
+
# Selector specifying which fields to include in a partial response.
|
4305
|
+
# @param [String] quota_user
|
4306
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4307
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4308
|
+
# @param [Google::Apis::RequestOptions] options
|
4309
|
+
# Request-specific options
|
4310
|
+
#
|
4311
|
+
# @yield [result, err] Result & error if block supplied
|
4312
|
+
# @yieldparam result [Google::Apis::DisplayvideoV2::ListYoutubeAdGroupAssignedTargetingOptionsResponse] parsed result object
|
4313
|
+
# @yieldparam err [StandardError] error object if request failed
|
4314
|
+
#
|
4315
|
+
# @return [Google::Apis::DisplayvideoV2::ListYoutubeAdGroupAssignedTargetingOptionsResponse]
|
4316
|
+
#
|
4317
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4318
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4319
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4320
|
+
def list_advertiser_youtube_ad_group_targeting_type_assigned_targeting_options(advertiser_id, youtube_ad_group_id, targeting_type, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4321
|
+
command = make_simple_command(:get, 'v2/advertisers/{+advertiserId}/youtubeAdGroups/{+youtubeAdGroupId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
|
4322
|
+
command.response_representation = Google::Apis::DisplayvideoV2::ListYoutubeAdGroupAssignedTargetingOptionsResponse::Representation
|
4323
|
+
command.response_class = Google::Apis::DisplayvideoV2::ListYoutubeAdGroupAssignedTargetingOptionsResponse
|
4324
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
4325
|
+
command.params['youtubeAdGroupId'] = youtube_ad_group_id unless youtube_ad_group_id.nil?
|
4326
|
+
command.params['targetingType'] = targeting_type unless targeting_type.nil?
|
4327
|
+
command.query['filter'] = filter unless filter.nil?
|
4328
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
4329
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
4330
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
4331
|
+
command.query['fields'] = fields unless fields.nil?
|
4332
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4333
|
+
execute_or_queue_command(command, &block)
|
4334
|
+
end
|
4335
|
+
|
3809
4336
|
# Gets a combined audience.
|
3810
4337
|
# @param [Fixnum] combined_audience_id
|
3811
4338
|
# Required. The ID of the combined audience to fetch.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-displayvideo_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-displayvideo_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v2/v0.11.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-displayvideo_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|