google-ads-googleads 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ChangeLog +3 -0
- data/lib/google/ads/googleads/path_lookup_util.rb +29 -0
- data/lib/google/ads/googleads/proto_lookup_util.rb +91 -10
- data/lib/google/ads/googleads/v0/common/{ad_pb.rb → ad_type_infos_pb.rb} +4 -22
- data/lib/google/ads/googleads/v0/common/criteria_pb.rb +37 -3
- data/lib/google/ads/googleads/v0/common/metrics_pb.rb +8 -8
- data/lib/google/ads/googleads/v0/common/policy_pb.rb +57 -0
- data/lib/google/ads/googleads/v0/enums/ad_group_type_pb.rb +2 -0
- data/lib/google/ads/googleads/v0/enums/ad_network_type_pb.rb +1 -0
- data/lib/google/ads/googleads/v0/enums/ad_type_pb.rb +1 -0
- data/lib/google/ads/googleads/v0/enums/advertising_channel_sub_type_pb.rb +3 -0
- data/lib/google/ads/googleads/v0/enums/advertising_channel_type_pb.rb +2 -0
- data/lib/google/ads/googleads/v0/enums/bid_modifier_source_pb.rb +28 -0
- data/lib/google/ads/googleads/v0/enums/campaign_group_status_pb.rb +28 -0
- data/lib/google/ads/googleads/v0/enums/campaign_shared_set_status_pb.rb +28 -0
- data/lib/google/ads/googleads/v0/enums/criterion_type_pb.rb +2 -1
- data/lib/google/ads/googleads/v0/enums/device_pb.rb +1 -0
- data/lib/google/ads/googleads/v0/enums/hotel_date_selection_type_pb.rb +28 -0
- data/lib/google/ads/googleads/v0/enums/interaction_type_pb.rb +27 -0
- data/lib/google/ads/googleads/v0/enums/minute_of_hour_pb.rb +30 -0
- data/lib/google/ads/googleads/v0/enums/month_of_year_pb.rb +38 -0
- data/lib/google/ads/googleads/v0/enums/policy_topic_entry_type_pb.rb +31 -0
- data/lib/google/ads/googleads/v0/enums/policy_topic_evidence_destination_mismatch_url_type_pb.rb +31 -0
- data/lib/google/ads/googleads/v0/enums/product_condition_pb.rb +30 -0
- data/lib/google/ads/googleads/v0/enums/product_type_level_pb.rb +31 -0
- data/lib/google/ads/googleads/v0/enums/recommendation_type_pb.rb +5 -0
- data/lib/google/ads/googleads/v0/enums/shared_set_status_pb.rb +28 -0
- data/lib/google/ads/googleads/v0/enums/shared_set_type_pb.rb +28 -0
- data/lib/google/ads/googleads/v0/enums/slot_pb.rb +1 -0
- data/lib/google/ads/googleads/v0/errors/authentication_error_pb.rb +2 -0
- data/lib/google/ads/googleads/v0/errors/authorization_error_pb.rb +2 -0
- data/lib/google/ads/googleads/v0/errors/campaign_criterion_error_pb.rb +1 -0
- data/lib/google/ads/googleads/v0/errors/campaign_error_pb.rb +1 -2
- data/lib/google/ads/googleads/v0/errors/campaign_group_error_pb.rb +29 -0
- data/lib/google/ads/googleads/v0/errors/campaign_shared_set_error_pb.rb +27 -0
- data/lib/google/ads/googleads/v0/errors/context_error_pb.rb +1 -0
- data/lib/google/ads/googleads/v0/errors/database_error_pb.rb +27 -0
- data/lib/google/ads/googleads/v0/errors/enum_error_pb.rb +27 -0
- data/lib/google/ads/googleads/v0/errors/errors_pb.rb +21 -0
- data/lib/google/ads/googleads/v0/errors/header_error_pb.rb +27 -0
- data/lib/google/ads/googleads/v0/errors/mutate_error_pb.rb +1 -0
- data/lib/google/ads/googleads/v0/errors/policy_finding_error_pb.rb +27 -0
- data/lib/google/ads/googleads/v0/errors/query_error_pb.rb +1 -0
- data/lib/google/ads/googleads/v0/errors/quota_error_pb.rb +1 -0
- data/lib/google/ads/googleads/v0/errors/recommendation_error_pb.rb +1 -0
- data/lib/google/ads/googleads/v0/errors/shared_criterion_error_pb.rb +27 -0
- data/lib/google/ads/googleads/v0/errors/shared_set_error_pb.rb +30 -0
- data/lib/google/ads/googleads/v0/resources/ad_group_ad_pb.rb +2 -2
- data/lib/google/ads/googleads/v0/resources/ad_group_bid_modifier_pb.rb +4 -0
- data/lib/google/ads/googleads/v0/resources/ad_pb.rb +42 -0
- data/lib/google/ads/googleads/v0/resources/campaign_bid_modifier_pb.rb +30 -0
- data/lib/google/ads/googleads/v0/resources/campaign_criterion_pb.rb +2 -1
- data/lib/google/ads/googleads/v0/resources/campaign_group_pb.rb +27 -0
- data/lib/google/ads/googleads/v0/resources/campaign_pb.rb +9 -0
- data/lib/google/ads/googleads/v0/resources/campaign_shared_set_pb.rb +27 -0
- data/lib/google/ads/googleads/v0/resources/recommendation_pb.rb +25 -2
- data/lib/google/ads/googleads/v0/resources/shared_criterion_pb.rb +31 -0
- data/lib/google/ads/googleads/v0/resources/shared_set_pb.rb +31 -0
- data/lib/google/ads/googleads/v0/services.rb +1163 -0
- data/lib/google/ads/googleads/v0/services/ad_group_ad_service_client.rb +4 -4
- data/lib/google/ads/googleads/v0/services/ad_group_ad_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/ad_group_bid_modifier_service_client.rb +4 -4
- data/lib/google/ads/googleads/v0/services/ad_group_bid_modifier_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/ad_group_criterion_service_client.rb +4 -4
- data/lib/google/ads/googleads/v0/services/ad_group_criterion_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/ad_group_service_client.rb +4 -4
- data/lib/google/ads/googleads/v0/services/ad_group_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/bidding_strategy_service_client.rb +4 -4
- data/lib/google/ads/googleads/v0/services/bidding_strategy_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/campaign_bid_modifier_service_client.rb +268 -0
- data/lib/google/ads/googleads/v0/services/campaign_bid_modifier_service_client_config.json +36 -0
- data/lib/google/ads/googleads/v0/services/campaign_bid_modifier_service_pb.rb +47 -0
- data/lib/google/ads/googleads/v0/services/campaign_bid_modifier_service_services_pb.rb +51 -0
- data/lib/google/ads/googleads/v0/services/campaign_budget_service_client.rb +4 -4
- data/lib/google/ads/googleads/v0/services/campaign_budget_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/campaign_criterion_service_client.rb +4 -4
- data/lib/google/ads/googleads/v0/services/campaign_criterion_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/campaign_group_service_client.rb +268 -0
- data/lib/google/ads/googleads/v0/services/campaign_group_service_client_config.json +36 -0
- data/lib/google/ads/googleads/v0/services/campaign_group_service_pb.rb +47 -0
- data/lib/google/ads/googleads/v0/services/campaign_group_service_services_pb.rb +51 -0
- data/lib/google/ads/googleads/v0/services/campaign_service_client.rb +4 -4
- data/lib/google/ads/googleads/v0/services/campaign_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/campaign_shared_set_service_client.rb +267 -0
- data/lib/google/ads/googleads/v0/services/campaign_shared_set_service_client_config.json +36 -0
- data/lib/google/ads/googleads/v0/services/campaign_shared_set_service_pb.rb +44 -0
- data/lib/google/ads/googleads/v0/services/campaign_shared_set_service_services_pb.rb +50 -0
- data/lib/google/ads/googleads/v0/services/credentials.rb +10 -2
- data/lib/google/ads/googleads/v0/services/customer_service_client.rb +2 -2
- data/lib/google/ads/googleads/v0/services/customer_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/common/ad_type_infos.rb +120 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/common/bidding.rb +176 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/common/criteria.rb +225 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/common/custom_parameter.rb +33 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/common/metrics.rb +208 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/ad.rb +79 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/ad_group.rb +87 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/ad_group_ad.rb +43 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/ad_group_bid_modifier.rb +70 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/ad_group_criterion.rb +148 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/bidding_strategy.rb +73 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/campaign.rb +223 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/campaign_bid_modifier.rb +46 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/campaign_budget.rb +88 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/campaign_criterion.rb +66 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/campaign_group.rb +49 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/campaign_shared_set.rb +47 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/customer.rb +57 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/geo_target_constant.rb +44 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/google_ads_field.rb +89 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/keyword_view.rb +32 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/recommendation.rb +223 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/shared_criterion.rb +46 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/shared_set.rb +56 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/ad_group_ad_service.rb +68 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/ad_group_bid_modifier_service.rb +71 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/ad_group_criterion_service.rb +69 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/ad_group_service.rb +68 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/bidding_strategy_service.rb +70 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/campaign_bid_modifier_service.rb +71 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/campaign_budget_service.rb +69 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/campaign_criterion_service.rb +69 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/campaign_group_service.rb +70 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/campaign_service.rb +69 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/campaign_shared_set_service.rb +64 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/customer_service.rb +29 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/geo_target_constant_service.rb +29 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/google_ads_field_service.rb +59 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/google_ads_service.rb +156 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/keyword_view_service.rb +29 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/recommendation_service.rb +112 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/shared_criterion_service.rb +64 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/shared_set_service.rb +69 -0
- data/lib/google/ads/googleads/v0/services/doc/google/protobuf/any.rb +124 -0
- data/lib/google/ads/googleads/v0/services/doc/google/protobuf/field_mask.rb +223 -0
- data/lib/google/ads/googleads/v0/services/doc/google/protobuf/wrappers.rb +89 -0
- data/lib/google/ads/googleads/v0/services/doc/google/rpc/status.rb +83 -0
- data/lib/google/ads/googleads/v0/services/doc/overview.rb +82 -0
- data/lib/google/ads/googleads/v0/services/geo_target_constant_service_client.rb +2 -2
- data/lib/google/ads/googleads/v0/services/geo_target_constant_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/google_ads_field_service_client.rb +4 -4
- data/lib/google/ads/googleads/v0/services/google_ads_field_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/google_ads_service_client.rb +2 -2
- data/lib/google/ads/googleads/v0/services/google_ads_service_pb.rb +12 -0
- data/lib/google/ads/googleads/v0/services/google_ads_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/keyword_view_service_client.rb +2 -2
- data/lib/google/ads/googleads/v0/services/keyword_view_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/recommendation_service_client.rb +4 -4
- data/lib/google/ads/googleads/v0/services/recommendation_service_pb.rb +2 -2
- data/lib/google/ads/googleads/v0/services/recommendation_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/shared_criterion_service_client.rb +267 -0
- data/lib/google/ads/googleads/v0/services/shared_criterion_service_client_config.json +36 -0
- data/lib/google/ads/googleads/v0/services/shared_criterion_service_pb.rb +44 -0
- data/lib/google/ads/googleads/v0/services/shared_criterion_service_services_pb.rb +50 -0
- data/lib/google/ads/googleads/v0/services/shared_set_service_client.rb +267 -0
- data/lib/google/ads/googleads/v0/services/shared_set_service_client_config.json +36 -0
- data/lib/google/ads/googleads/v0/services/shared_set_service_pb.rb +47 -0
- data/lib/google/ads/googleads/v0/services/shared_set_service_services_pb.rb +50 -0
- data/lib/google/ads/googleads/version.rb +1 -1
- metadata +100 -4
data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/shared_criterion.rb
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
# Copyright 2018 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Ads
|
17
|
+
module Googleads
|
18
|
+
module V0
|
19
|
+
module Resources
|
20
|
+
# A criterion belonging to a shared set.
|
21
|
+
# @!attribute [rw] resource_name
|
22
|
+
# @return [String]
|
23
|
+
# The resource name of the shared criterion.
|
24
|
+
# Shared set resource names have the form:
|
25
|
+
#
|
26
|
+
# +customers/{customer_id}/sharedCriteria/{shared_set_id}_{criterion_id}+
|
27
|
+
# @!attribute [rw] shared_set
|
28
|
+
# @return [Google::Protobuf::StringValue]
|
29
|
+
# The shared set to which the shared criterion belongs.
|
30
|
+
# @!attribute [rw] criterion_id
|
31
|
+
# @return [Google::Protobuf::Int64Value]
|
32
|
+
# The ID of the criterion.
|
33
|
+
#
|
34
|
+
# This field is ignored for mutates.
|
35
|
+
# @!attribute [rw] type
|
36
|
+
# @return [Google::Ads::Googleads::V0::Enums::CriterionTypeEnum::CriterionType]
|
37
|
+
# The type of the criterion.
|
38
|
+
# @!attribute [rw] keyword
|
39
|
+
# @return [Google::Ads::Googleads::V0::Common::KeywordInfo]
|
40
|
+
# Keyword.
|
41
|
+
class SharedCriterion; end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# Copyright 2018 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Ads
|
17
|
+
module Googleads
|
18
|
+
module V0
|
19
|
+
module Resources
|
20
|
+
# SharedSets are used for sharing criterion exclusions across multiple
|
21
|
+
# campaigns.
|
22
|
+
# @!attribute [rw] resource_name
|
23
|
+
# @return [String]
|
24
|
+
# The resource name of the shared set.
|
25
|
+
# Shared set resource names have the form:
|
26
|
+
#
|
27
|
+
# +customers/{customer_id}/sharedSets/{shared_set_id}+
|
28
|
+
# @!attribute [rw] id
|
29
|
+
# @return [Google::Protobuf::Int64Value]
|
30
|
+
# The ID of this shared set. Read only.
|
31
|
+
# @!attribute [rw] type
|
32
|
+
# @return [Google::Ads::Googleads::V0::Enums::SharedSetTypeEnum::SharedSetType]
|
33
|
+
# The type of this shared set: each shared set holds only a single kind
|
34
|
+
# of entity. Required. Immutable.
|
35
|
+
# @!attribute [rw] name
|
36
|
+
# @return [Google::Protobuf::StringValue]
|
37
|
+
# The name of this shared set. Required.
|
38
|
+
# Shared Sets must have names that are unique among active shared sets of
|
39
|
+
# the same type.
|
40
|
+
# The length of this string should be between 1 and 255 UTF-8 bytes,
|
41
|
+
# inclusive.
|
42
|
+
# @!attribute [rw] status
|
43
|
+
# @return [Google::Ads::Googleads::V0::Enums::SharedSetStatusEnum::SharedSetStatus]
|
44
|
+
# The status of this shared set. Read only.
|
45
|
+
# @!attribute [rw] member_count
|
46
|
+
# @return [Google::Protobuf::Int64Value]
|
47
|
+
# The number of shared criteria within this shared set. Read only.
|
48
|
+
# @!attribute [rw] reference_count
|
49
|
+
# @return [Google::Protobuf::Int64Value]
|
50
|
+
# The number of campaigns associated with this shared set. Read only.
|
51
|
+
class SharedSet; end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,68 @@
|
|
1
|
+
# Copyright 2018 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Ads
|
17
|
+
module Googleads
|
18
|
+
module V0
|
19
|
+
module Services
|
20
|
+
# Request message for {Google::Ads::Googleads::V0::Services::AdGroupAdService::GetAdGroupAd AdGroupAdService::GetAdGroupAd}.
|
21
|
+
# @!attribute [rw] resource_name
|
22
|
+
# @return [String]
|
23
|
+
# The resource name of the ad to fetch.
|
24
|
+
class GetAdGroupAdRequest; end
|
25
|
+
|
26
|
+
# Request message for {Google::Ads::Googleads::V0::Services::AdGroupAdService::MutateAdGroupAds AdGroupAdService::MutateAdGroupAds}.
|
27
|
+
# @!attribute [rw] customer_id
|
28
|
+
# @return [String]
|
29
|
+
# The ID of the customer whose ads are being modified.
|
30
|
+
# @!attribute [rw] operations
|
31
|
+
# @return [Array<Google::Ads::Googleads::V0::Services::AdGroupAdOperation>]
|
32
|
+
# The list of operations to perform on individual ads.
|
33
|
+
class MutateAdGroupAdsRequest; end
|
34
|
+
|
35
|
+
# A single operation (create, update, remove) on an ad group ad.
|
36
|
+
# @!attribute [rw] update_mask
|
37
|
+
# @return [Google::Protobuf::FieldMask]
|
38
|
+
# FieldMask that determines which resource fields are modified in an update.
|
39
|
+
# @!attribute [rw] create
|
40
|
+
# @return [Google::Ads::Googleads::V0::Resources::AdGroupAd]
|
41
|
+
# Create operation: No resource name is expected for the new ad.
|
42
|
+
# @!attribute [rw] update
|
43
|
+
# @return [Google::Ads::Googleads::V0::Resources::AdGroupAd]
|
44
|
+
# Update operation: The ad is expected to have a valid resource name.
|
45
|
+
# @!attribute [rw] remove
|
46
|
+
# @return [String]
|
47
|
+
# Remove operation: A resource name for the removed ad is expected,
|
48
|
+
# in this format:
|
49
|
+
#
|
50
|
+
# +customers/{customer_id}/adGroupAds/{ad_group_id}_{ad_id}+
|
51
|
+
class AdGroupAdOperation; end
|
52
|
+
|
53
|
+
# Response message for an ad group ad mutate.
|
54
|
+
# @!attribute [rw] results
|
55
|
+
# @return [Array<Google::Ads::Googleads::V0::Services::MutateAdGroupAdResult>]
|
56
|
+
# All results for the mutate.
|
57
|
+
class MutateAdGroupAdsResponse; end
|
58
|
+
|
59
|
+
# The result for the ad mutate.
|
60
|
+
# @!attribute [rw] resource_name
|
61
|
+
# @return [String]
|
62
|
+
# The resource name returned for successful operations.
|
63
|
+
class MutateAdGroupAdResult; end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
# Copyright 2018 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Ads
|
17
|
+
module Googleads
|
18
|
+
module V0
|
19
|
+
module Services
|
20
|
+
# Request message for {Google::Ads::Googleads::V0::Services::AdGroupBidModifierService::GetAdGroupBidModifier AdGroupBidModifierService::GetAdGroupBidModifier}.
|
21
|
+
# @!attribute [rw] resource_name
|
22
|
+
# @return [String]
|
23
|
+
# The resource name of the ad group bid modifier to fetch.
|
24
|
+
class GetAdGroupBidModifierRequest; end
|
25
|
+
|
26
|
+
# Request message for {Google::Ads::Googleads::V0::Services::AdGroupBidModifierService::MutateAdGroupBidModifiers AdGroupBidModifierService::MutateAdGroupBidModifiers}.
|
27
|
+
# @!attribute [rw] customer_id
|
28
|
+
# @return [String]
|
29
|
+
# ID of the customer whose ad group bid modifiers are being modified.
|
30
|
+
# @!attribute [rw] operations
|
31
|
+
# @return [Array<Google::Ads::Googleads::V0::Services::AdGroupBidModifierOperation>]
|
32
|
+
# The list of operations to perform on individual ad group bid modifiers.
|
33
|
+
class MutateAdGroupBidModifiersRequest; end
|
34
|
+
|
35
|
+
# A single operation (create, remove, update) on an ad group bid modifier.
|
36
|
+
# @!attribute [rw] update_mask
|
37
|
+
# @return [Google::Protobuf::FieldMask]
|
38
|
+
# FieldMask that determines which resource fields are modified in an update.
|
39
|
+
# @!attribute [rw] create
|
40
|
+
# @return [Google::Ads::Googleads::V0::Resources::AdGroupBidModifier]
|
41
|
+
# Create operation: No resource name is expected for the new ad group bid
|
42
|
+
# modifier.
|
43
|
+
# @!attribute [rw] update
|
44
|
+
# @return [Google::Ads::Googleads::V0::Resources::AdGroupBidModifier]
|
45
|
+
# Update operation: The ad group bid modifier is expected to have a valid
|
46
|
+
# resource name.
|
47
|
+
# @!attribute [rw] remove
|
48
|
+
# @return [String]
|
49
|
+
# Remove operation: A resource name for the removed ad group bid modifier
|
50
|
+
# is expected, in this format:
|
51
|
+
#
|
52
|
+
#
|
53
|
+
# +customers/{customer_id}/adGroupBidModifiers/{ad_group_id}_{criterion_id}+
|
54
|
+
class AdGroupBidModifierOperation; end
|
55
|
+
|
56
|
+
# Response message for ad group bid modifiers mutate.
|
57
|
+
# @!attribute [rw] results
|
58
|
+
# @return [Array<Google::Ads::Googleads::V0::Services::MutateAdGroupBidModifierResult>]
|
59
|
+
# All results for the mutate.
|
60
|
+
class MutateAdGroupBidModifiersResponse; end
|
61
|
+
|
62
|
+
# The result for the criterion mutate.
|
63
|
+
# @!attribute [rw] resource_name
|
64
|
+
# @return [String]
|
65
|
+
# Returned for successful operations.
|
66
|
+
class MutateAdGroupBidModifierResult; end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# Copyright 2018 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Ads
|
17
|
+
module Googleads
|
18
|
+
module V0
|
19
|
+
module Services
|
20
|
+
# Request message for {Google::Ads::Googleads::V0::Services::AdGroupCriterionService::GetAdGroupCriterion AdGroupCriterionService::GetAdGroupCriterion}.
|
21
|
+
# @!attribute [rw] resource_name
|
22
|
+
# @return [String]
|
23
|
+
# The resource name of the criterion to fetch.
|
24
|
+
class GetAdGroupCriterionRequest; end
|
25
|
+
|
26
|
+
# Request message for {Google::Ads::Googleads::V0::Services::AdGroupCriterionService::MutateAdGroupCriteria AdGroupCriterionService::MutateAdGroupCriteria}.
|
27
|
+
# @!attribute [rw] customer_id
|
28
|
+
# @return [String]
|
29
|
+
# ID of the customer whose criteria are being modified.
|
30
|
+
# @!attribute [rw] operations
|
31
|
+
# @return [Array<Google::Ads::Googleads::V0::Services::AdGroupCriterionOperation>]
|
32
|
+
# The list of operations to perform on individual criteria.
|
33
|
+
class MutateAdGroupCriteriaRequest; end
|
34
|
+
|
35
|
+
# A single operation (create, remove, update) on an ad group criterion.
|
36
|
+
# @!attribute [rw] update_mask
|
37
|
+
# @return [Google::Protobuf::FieldMask]
|
38
|
+
# FieldMask that determines which resource fields are modified in an update.
|
39
|
+
# @!attribute [rw] create
|
40
|
+
# @return [Google::Ads::Googleads::V0::Resources::AdGroupCriterion]
|
41
|
+
# Create operation: No resource name is expected for the new criterion.
|
42
|
+
# @!attribute [rw] update
|
43
|
+
# @return [Google::Ads::Googleads::V0::Resources::AdGroupCriterion]
|
44
|
+
# Update operation: The criterion is expected to have a valid resource
|
45
|
+
# name.
|
46
|
+
# @!attribute [rw] remove
|
47
|
+
# @return [String]
|
48
|
+
# Remove operation: A resource name for the removed criterion is expected,
|
49
|
+
# in this format:
|
50
|
+
#
|
51
|
+
# +customers/{customer_id}/adGroupCriteria/{ad_group_id}_{criterion_id}+
|
52
|
+
class AdGroupCriterionOperation; end
|
53
|
+
|
54
|
+
# Response message for an ad group criterion mutate.
|
55
|
+
# @!attribute [rw] results
|
56
|
+
# @return [Array<Google::Ads::Googleads::V0::Services::MutateAdGroupCriterionResult>]
|
57
|
+
# All results for the mutate.
|
58
|
+
class MutateAdGroupCriteriaResponse; end
|
59
|
+
|
60
|
+
# The result for the criterion mutate.
|
61
|
+
# @!attribute [rw] resource_name
|
62
|
+
# @return [String]
|
63
|
+
# Returned for successful operations.
|
64
|
+
class MutateAdGroupCriterionResult; end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/ad_group_service.rb
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
# Copyright 2018 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Ads
|
17
|
+
module Googleads
|
18
|
+
module V0
|
19
|
+
module Services
|
20
|
+
# Request message for {Google::Ads::Googleads::V0::Services::AdGroupService::GetAdGroup AdGroupService::GetAdGroup}.
|
21
|
+
# @!attribute [rw] resource_name
|
22
|
+
# @return [String]
|
23
|
+
# The resource name of the ad group to fetch.
|
24
|
+
class GetAdGroupRequest; end
|
25
|
+
|
26
|
+
# Request message for {Google::Ads::Googleads::V0::Services::AdGroupService::MutateAdGroups AdGroupService::MutateAdGroups}.
|
27
|
+
# @!attribute [rw] customer_id
|
28
|
+
# @return [String]
|
29
|
+
# The ID of the customer whose ad groups are being modified.
|
30
|
+
# @!attribute [rw] operations
|
31
|
+
# @return [Array<Google::Ads::Googleads::V0::Services::AdGroupOperation>]
|
32
|
+
# The list of operations to perform on individual ad groups.
|
33
|
+
class MutateAdGroupsRequest; end
|
34
|
+
|
35
|
+
# A single operation (create, update, remove) on an ad group.
|
36
|
+
# @!attribute [rw] update_mask
|
37
|
+
# @return [Google::Protobuf::FieldMask]
|
38
|
+
# FieldMask that determines which resource fields are modified in an update.
|
39
|
+
# @!attribute [rw] create
|
40
|
+
# @return [Google::Ads::Googleads::V0::Resources::AdGroup]
|
41
|
+
# Create operation: No resource name is expected for the new ad group.
|
42
|
+
# @!attribute [rw] update
|
43
|
+
# @return [Google::Ads::Googleads::V0::Resources::AdGroup]
|
44
|
+
# Update operation: The ad group is expected to have a valid resource name.
|
45
|
+
# @!attribute [rw] remove
|
46
|
+
# @return [String]
|
47
|
+
# Remove operation: A resource name for the removed ad group is expected,
|
48
|
+
# in this format:
|
49
|
+
#
|
50
|
+
# +customers/{customer_id}/adGroups/{ad_group_id}+
|
51
|
+
class AdGroupOperation; end
|
52
|
+
|
53
|
+
# Response message for an ad group mutate.
|
54
|
+
# @!attribute [rw] results
|
55
|
+
# @return [Array<Google::Ads::Googleads::V0::Services::MutateAdGroupResult>]
|
56
|
+
# All results for the mutate.
|
57
|
+
class MutateAdGroupsResponse; end
|
58
|
+
|
59
|
+
# The result for the ad group mutate.
|
60
|
+
# @!attribute [rw] resource_name
|
61
|
+
# @return [String]
|
62
|
+
# Returned for successful operations.
|
63
|
+
class MutateAdGroupResult; end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,70 @@
|
|
1
|
+
# Copyright 2018 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Ads
|
17
|
+
module Googleads
|
18
|
+
module V0
|
19
|
+
module Services
|
20
|
+
# Request message for {Google::Ads::Googleads::V0::Services::BiddingStrategyService::GetBiddingStrategy BiddingStrategyService::GetBiddingStrategy}.
|
21
|
+
# @!attribute [rw] resource_name
|
22
|
+
# @return [String]
|
23
|
+
# The resource name of the bidding strategy to fetch.
|
24
|
+
class GetBiddingStrategyRequest; end
|
25
|
+
|
26
|
+
# Request message for {Google::Ads::Googleads::V0::Services::BiddingStrategyService::MutateBiddingStrategies BiddingStrategyService::MutateBiddingStrategies}.
|
27
|
+
# @!attribute [rw] customer_id
|
28
|
+
# @return [String]
|
29
|
+
# The ID of the customer whose bidding strategies are being modified.
|
30
|
+
# @!attribute [rw] operations
|
31
|
+
# @return [Array<Google::Ads::Googleads::V0::Services::BiddingStrategyOperation>]
|
32
|
+
# The list of operations to perform on individual bidding strategies.
|
33
|
+
class MutateBiddingStrategiesRequest; end
|
34
|
+
|
35
|
+
# A single operation (create, update, remove) on a bidding strategy.
|
36
|
+
# @!attribute [rw] update_mask
|
37
|
+
# @return [Google::Protobuf::FieldMask]
|
38
|
+
# FieldMask that determines which resource fields are modified in an update.
|
39
|
+
# @!attribute [rw] create
|
40
|
+
# @return [Google::Ads::Googleads::V0::Resources::BiddingStrategy]
|
41
|
+
# Create operation: No resource name is expected for the new bidding
|
42
|
+
# strategy.
|
43
|
+
# @!attribute [rw] update
|
44
|
+
# @return [Google::Ads::Googleads::V0::Resources::BiddingStrategy]
|
45
|
+
# Update operation: The bidding strategy is expected to have a valid
|
46
|
+
# resource name.
|
47
|
+
# @!attribute [rw] remove
|
48
|
+
# @return [String]
|
49
|
+
# Remove operation: A resource name for the removed bidding strategy is
|
50
|
+
# expected, in this format:
|
51
|
+
#
|
52
|
+
# +customers/{customer_id}/biddingStrategies/{bidding_strategy_id}+
|
53
|
+
class BiddingStrategyOperation; end
|
54
|
+
|
55
|
+
# Response message for bidding strategy mutate.
|
56
|
+
# @!attribute [rw] results
|
57
|
+
# @return [Array<Google::Ads::Googleads::V0::Services::MutateBiddingStrategyResult>]
|
58
|
+
# All results for the mutate.
|
59
|
+
class MutateBiddingStrategiesResponse; end
|
60
|
+
|
61
|
+
# The result for the bidding strategy mutate.
|
62
|
+
# @!attribute [rw] resource_name
|
63
|
+
# @return [String]
|
64
|
+
# Returned for successful operations.
|
65
|
+
class MutateBiddingStrategyResult; end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|