google-adwords-api 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/examples/v201101/add_conversion.rb +97 -0
- data/examples/v201101/add_user_list.rb +28 -2
- data/examples/v201101/get_all_conversions.rb +88 -0
- data/examples/v201101/get_keyword_opportunities.rb +103 -0
- data/examples/v201101/update_conversion.rb +96 -0
- data/lib/adwords_api/api_config.rb +6 -3
- data/lib/adwords_api/errors.rb +4 -1
- data/lib/adwords_api/extensions.rb +1 -1
- data/lib/adwords_api/v13/AccountServiceDriver.rb +5 -5
- data/lib/adwords_api/v13/ReportServiceDriver.rb +7 -7
- data/lib/adwords_api/v13/TrafficEstimatorServiceDriver.rb +4 -4
- data/lib/adwords_api/v200909/AdExtensionOverrideServiceDriver.rb +2 -2
- data/lib/adwords_api/v200909/AdGroupAdServiceDriver.rb +2 -2
- data/lib/adwords_api/v200909/AdGroupCriterionService.rb +506 -506
- data/lib/adwords_api/v200909/AdGroupCriterionServiceDriver.rb +2 -2
- data/lib/adwords_api/v200909/AdGroupCriterionServiceMappingRegistry.rb +428 -428
- data/lib/adwords_api/v200909/AdGroupServiceDriver.rb +2 -2
- data/lib/adwords_api/v200909/AdParamServiceDriver.rb +2 -2
- data/lib/adwords_api/v200909/BulkMutateJobServiceDriver.rb +2 -2
- data/lib/adwords_api/v200909/CampaignAdExtensionServiceDriver.rb +2 -2
- data/lib/adwords_api/v200909/CampaignCriterionService.rb +133 -133
- data/lib/adwords_api/v200909/CampaignCriterionServiceDriver.rb +2 -2
- data/lib/adwords_api/v200909/CampaignCriterionServiceMappingRegistry.rb +184 -184
- data/lib/adwords_api/v200909/CampaignServiceDriver.rb +2 -2
- data/lib/adwords_api/v200909/CampaignTargetServiceDriver.rb +2 -2
- data/lib/adwords_api/v200909/GeoLocationServiceDriver.rb +1 -1
- data/lib/adwords_api/v200909/InfoServiceDriver.rb +1 -1
- data/lib/adwords_api/v200909/TargetingIdeaService.rb +907 -907
- data/lib/adwords_api/v200909/TargetingIdeaServiceDriver.rb +2 -2
- data/lib/adwords_api/v200909/TargetingIdeaServiceMappingRegistry.rb +384 -384
- data/lib/adwords_api/v201003/AdExtensionOverrideServiceDriver.rb +2 -2
- data/lib/adwords_api/v201003/AdGroupAdServiceDriver.rb +2 -2
- data/lib/adwords_api/v201003/AdGroupCriterionService.rb +527 -527
- data/lib/adwords_api/v201003/AdGroupCriterionServiceDriver.rb +2 -2
- data/lib/adwords_api/v201003/AdGroupCriterionServiceMappingRegistry.rb +469 -469
- data/lib/adwords_api/v201003/AdGroupServiceDriver.rb +2 -2
- data/lib/adwords_api/v201003/AdParamServiceDriver.rb +2 -2
- data/lib/adwords_api/v201003/BidLandscapeServiceDriver.rb +1 -1
- data/lib/adwords_api/v201003/BulkMutateJobServiceDriver.rb +2 -2
- data/lib/adwords_api/v201003/CampaignAdExtensionServiceDriver.rb +2 -2
- data/lib/adwords_api/v201003/CampaignCriterionService.rb +133 -133
- data/lib/adwords_api/v201003/CampaignCriterionServiceDriver.rb +2 -2
- data/lib/adwords_api/v201003/CampaignCriterionServiceMappingRegistry.rb +186 -186
- data/lib/adwords_api/v201003/CampaignServiceDriver.rb +2 -2
- data/lib/adwords_api/v201003/CampaignTargetServiceDriver.rb +2 -2
- data/lib/adwords_api/v201003/GeoLocationServiceDriver.rb +1 -1
- data/lib/adwords_api/v201003/InfoServiceDriver.rb +1 -1
- data/lib/adwords_api/v201003/MediaServiceDriver.rb +2 -2
- data/lib/adwords_api/v201003/ReportDefinitionServiceDriver.rb +3 -3
- data/lib/adwords_api/v201003/TargetingIdeaService.rb +1304 -1304
- data/lib/adwords_api/v201003/TargetingIdeaServiceDriver.rb +2 -2
- data/lib/adwords_api/v201003/TargetingIdeaServiceMappingRegistry.rb +401 -401
- data/lib/adwords_api/v201008/AdExtensionOverrideServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/AdGroupAdServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/AdGroupCriterionService.rb +598 -598
- data/lib/adwords_api/v201008/AdGroupCriterionServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/AdGroupCriterionServiceMappingRegistry.rb +680 -680
- data/lib/adwords_api/v201008/AdGroupServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/AdParamServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/AlertServiceDriver.rb +1 -1
- data/lib/adwords_api/v201008/BidLandscapeServiceDriver.rb +1 -1
- data/lib/adwords_api/v201008/BulkMutateJobServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/CampaignAdExtensionServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/CampaignCriterionService.rb +178 -178
- data/lib/adwords_api/v201008/CampaignCriterionServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/CampaignCriterionServiceMappingRegistry.rb +228 -228
- data/lib/adwords_api/v201008/CampaignServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/CampaignTargetServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/CustomerSyncServiceDriver.rb +1 -1
- data/lib/adwords_api/v201008/ExperimentServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/GeoLocationServiceDriver.rb +1 -1
- data/lib/adwords_api/v201008/InfoServiceDriver.rb +1 -1
- data/lib/adwords_api/v201008/MediaServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/ReportDefinitionServiceDriver.rb +3 -3
- data/lib/adwords_api/v201008/ServicedAccountServiceDriver.rb +1 -1
- data/lib/adwords_api/v201008/TargetingIdeaService.rb +1459 -1459
- data/lib/adwords_api/v201008/TargetingIdeaServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/TargetingIdeaServiceMappingRegistry.rb +447 -447
- data/lib/adwords_api/v201008/TrafficEstimatorService.rb +855 -855
- data/lib/adwords_api/v201008/TrafficEstimatorServiceDriver.rb +1 -1
- data/lib/adwords_api/v201008/TrafficEstimatorServiceMappingRegistry.rb +126 -126
- data/lib/adwords_api/v201008/UserListServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/AdExtensionOverrideServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/AdGroupAdService.rb +2 -0
- data/lib/adwords_api/v201101/AdGroupAdServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/AdGroupCriterionService.rb +700 -700
- data/lib/adwords_api/v201101/AdGroupCriterionServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/AdGroupCriterionServiceMappingRegistry.rb +670 -670
- data/lib/adwords_api/v201101/AdGroupServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/AdParamServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/AlertServiceDriver.rb +1 -1
- data/lib/adwords_api/v201101/BulkMutateJobService.rb +2 -0
- data/lib/adwords_api/v201101/BulkMutateJobServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/BulkOpportunityService.rb +1367 -0
- data/lib/adwords_api/v201101/BulkOpportunityServiceDriver.rb +55 -0
- data/lib/adwords_api/v201101/BulkOpportunityServiceMappingRegistry.rb +1668 -0
- data/lib/adwords_api/v201101/BulkOpportunityServiceWrapper.rb +303 -0
- data/lib/adwords_api/v201101/CampaignAdExtensionServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/CampaignCriterionService.rb +216 -216
- data/lib/adwords_api/v201101/CampaignCriterionServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/CampaignCriterionServiceMappingRegistry.rb +234 -234
- data/lib/adwords_api/v201101/CampaignServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/CampaignTargetServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/ConversionTrackerService.rb +1105 -0
- data/lib/adwords_api/v201101/ConversionTrackerServiceDriver.rb +63 -0
- data/lib/adwords_api/v201101/ConversionTrackerServiceMappingRegistry.rb +1161 -0
- data/lib/adwords_api/v201101/ConversionTrackerServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201101/CustomerSyncServiceDriver.rb +1 -1
- data/lib/adwords_api/v201101/DataServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/ExperimentServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/GeoLocationServiceDriver.rb +1 -1
- data/lib/adwords_api/v201101/InfoServiceDriver.rb +1 -1
- data/lib/adwords_api/v201101/MediaServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/ReportDefinitionServiceDriver.rb +3 -3
- data/lib/adwords_api/v201101/ReportDefinitionServiceWrapper.rb +14 -0
- data/lib/adwords_api/v201101/ServicedAccountServiceDriver.rb +1 -1
- data/lib/adwords_api/v201101/TargetingIdeaService.rb +1490 -1490
- data/lib/adwords_api/v201101/TargetingIdeaServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/TargetingIdeaServiceMappingRegistry.rb +507 -507
- data/lib/adwords_api/v201101/TrafficEstimatorService.rb +841 -841
- data/lib/adwords_api/v201101/TrafficEstimatorServiceDriver.rb +1 -1
- data/lib/adwords_api/v201101/TrafficEstimatorServiceMappingRegistry.rb +126 -126
- data/lib/adwords_api/v201101/UserListServiceDriver.rb +2 -2
- metadata +17 -5
@@ -16,7 +16,7 @@ class CampaignServiceInterface < ::SOAP::RPC::Driver
|
|
16
16
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201003", "getResponse"]] ],
|
17
17
|
{ :request_style => :document, :request_use => :literal,
|
18
18
|
:response_style => :document, :response_use => :literal,
|
19
|
-
:faults => {"AdwordsApi::V201003::CampaignService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :
|
19
|
+
:faults => {"AdwordsApi::V201003::CampaignService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :name=>"ApiException"}} }
|
20
20
|
],
|
21
21
|
[ "",
|
22
22
|
"mutate",
|
@@ -24,7 +24,7 @@ class CampaignServiceInterface < ::SOAP::RPC::Driver
|
|
24
24
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201003", "mutateResponse"]] ],
|
25
25
|
{ :request_style => :document, :request_use => :literal,
|
26
26
|
:response_style => :document, :response_use => :literal,
|
27
|
-
:faults => {"AdwordsApi::V201003::CampaignService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :
|
27
|
+
:faults => {"AdwordsApi::V201003::CampaignService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :name=>"ApiException"}} }
|
28
28
|
]
|
29
29
|
]
|
30
30
|
|
@@ -16,7 +16,7 @@ class CampaignTargetServiceInterface < ::SOAP::RPC::Driver
|
|
16
16
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201003", "getResponse"]] ],
|
17
17
|
{ :request_style => :document, :request_use => :literal,
|
18
18
|
:response_style => :document, :response_use => :literal,
|
19
|
-
:faults => {"AdwordsApi::V201003::CampaignTargetService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :
|
19
|
+
:faults => {"AdwordsApi::V201003::CampaignTargetService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :name=>"ApiException"}} }
|
20
20
|
],
|
21
21
|
[ "",
|
22
22
|
"mutate",
|
@@ -24,7 +24,7 @@ class CampaignTargetServiceInterface < ::SOAP::RPC::Driver
|
|
24
24
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201003", "mutateResponse"]] ],
|
25
25
|
{ :request_style => :document, :request_use => :literal,
|
26
26
|
:response_style => :document, :response_use => :literal,
|
27
|
-
:faults => {"AdwordsApi::V201003::CampaignTargetService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :
|
27
|
+
:faults => {"AdwordsApi::V201003::CampaignTargetService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :name=>"ApiException"}} }
|
28
28
|
]
|
29
29
|
]
|
30
30
|
|
@@ -16,7 +16,7 @@ class GeoLocationServiceInterface < ::SOAP::RPC::Driver
|
|
16
16
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201003", "getResponse"]] ],
|
17
17
|
{ :request_style => :document, :request_use => :literal,
|
18
18
|
:response_style => :document, :response_use => :literal,
|
19
|
-
:faults => {"AdwordsApi::V201003::GeoLocationService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :
|
19
|
+
:faults => {"AdwordsApi::V201003::GeoLocationService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :name=>"ApiException"}} }
|
20
20
|
]
|
21
21
|
]
|
22
22
|
|
@@ -16,7 +16,7 @@ class InfoServiceInterface < ::SOAP::RPC::Driver
|
|
16
16
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/info/v201003", "getResponse"]] ],
|
17
17
|
{ :request_style => :document, :request_use => :literal,
|
18
18
|
:response_style => :document, :response_use => :literal,
|
19
|
-
:faults => {"AdwordsApi::V201003::InfoService::ApiException_"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/info/v201003", :
|
19
|
+
:faults => {"AdwordsApi::V201003::InfoService::ApiException_"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/info/v201003", :name=>"ApiException"}} }
|
20
20
|
]
|
21
21
|
]
|
22
22
|
|
@@ -16,7 +16,7 @@ class MediaServiceInterface < ::SOAP::RPC::Driver
|
|
16
16
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201003", "getResponse"]] ],
|
17
17
|
{ :request_style => :document, :request_use => :literal,
|
18
18
|
:response_style => :document, :response_use => :literal,
|
19
|
-
:faults => {"AdwordsApi::V201003::MediaService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :
|
19
|
+
:faults => {"AdwordsApi::V201003::MediaService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :name=>"ApiException"}} }
|
20
20
|
],
|
21
21
|
[ "",
|
22
22
|
"upload",
|
@@ -24,7 +24,7 @@ class MediaServiceInterface < ::SOAP::RPC::Driver
|
|
24
24
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201003", "uploadResponse"]] ],
|
25
25
|
{ :request_style => :document, :request_use => :literal,
|
26
26
|
:response_style => :document, :response_use => :literal,
|
27
|
-
:faults => {"AdwordsApi::V201003::MediaService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :
|
27
|
+
:faults => {"AdwordsApi::V201003::MediaService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :name=>"ApiException"}} }
|
28
28
|
]
|
29
29
|
]
|
30
30
|
|
@@ -16,7 +16,7 @@ class ReportDefinitionServiceInterface < ::SOAP::RPC::Driver
|
|
16
16
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201003", "getResponse"]] ],
|
17
17
|
{ :request_style => :document, :request_use => :literal,
|
18
18
|
:response_style => :document, :response_use => :literal,
|
19
|
-
:faults => {"AdwordsApi::V201003::ReportDefinitionService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :
|
19
|
+
:faults => {"AdwordsApi::V201003::ReportDefinitionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :name=>"ApiException"}} }
|
20
20
|
],
|
21
21
|
[ "",
|
22
22
|
"getReportFields",
|
@@ -24,7 +24,7 @@ class ReportDefinitionServiceInterface < ::SOAP::RPC::Driver
|
|
24
24
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201003", "getReportFieldsResponse"]] ],
|
25
25
|
{ :request_style => :document, :request_use => :literal,
|
26
26
|
:response_style => :document, :response_use => :literal,
|
27
|
-
:faults => {"AdwordsApi::V201003::ReportDefinitionService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :
|
27
|
+
:faults => {"AdwordsApi::V201003::ReportDefinitionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :name=>"ApiException"}} }
|
28
28
|
],
|
29
29
|
[ "",
|
30
30
|
"mutate",
|
@@ -32,7 +32,7 @@ class ReportDefinitionServiceInterface < ::SOAP::RPC::Driver
|
|
32
32
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201003", "mutateResponse"]] ],
|
33
33
|
{ :request_style => :document, :request_use => :literal,
|
34
34
|
:response_style => :document, :response_use => :literal,
|
35
|
-
:faults => {"AdwordsApi::V201003::ReportDefinitionService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :
|
35
|
+
:faults => {"AdwordsApi::V201003::ReportDefinitionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :name=>"ApiException"}} }
|
36
36
|
]
|
37
37
|
]
|
38
38
|
|
@@ -31,504 +31,474 @@ class Address
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
-
#
|
35
|
-
#
|
36
|
-
# -
|
37
|
-
|
38
|
-
|
39
|
-
|
34
|
+
# ApiError
|
35
|
+
# abstract
|
36
|
+
# - fieldPath - SOAP::SOAPString
|
37
|
+
# - trigger - SOAP::SOAPString
|
38
|
+
# - errorString - SOAP::SOAPString
|
39
|
+
# - apiError_Type - SOAP::SOAPString
|
40
|
+
class ApiError
|
41
|
+
attr_accessor :fieldPath
|
42
|
+
attr_accessor :trigger
|
43
|
+
attr_accessor :errorString
|
44
|
+
attr_accessor :apiError_Type
|
40
45
|
|
41
|
-
def initialize(
|
42
|
-
@
|
43
|
-
@
|
46
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil)
|
47
|
+
@fieldPath = fieldPath
|
48
|
+
@trigger = trigger
|
49
|
+
@errorString = errorString
|
50
|
+
@apiError_Type = apiError_Type
|
44
51
|
end
|
45
52
|
end
|
46
53
|
|
47
|
-
#
|
48
|
-
# -
|
49
|
-
# -
|
50
|
-
|
51
|
-
|
52
|
-
|
54
|
+
# AdGroupCriterionError
|
55
|
+
# - fieldPath - SOAP::SOAPString
|
56
|
+
# - trigger - SOAP::SOAPString
|
57
|
+
# - errorString - SOAP::SOAPString
|
58
|
+
# - apiError_Type - SOAP::SOAPString
|
59
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::AdGroupCriterionErrorReason
|
60
|
+
class AdGroupCriterionError < ApiError
|
61
|
+
attr_accessor :fieldPath
|
62
|
+
attr_accessor :trigger
|
63
|
+
attr_accessor :errorString
|
64
|
+
attr_accessor :apiError_Type
|
65
|
+
attr_accessor :reason
|
53
66
|
|
54
|
-
def initialize(
|
55
|
-
@
|
56
|
-
@
|
67
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
68
|
+
@fieldPath = fieldPath
|
69
|
+
@trigger = trigger
|
70
|
+
@errorString = errorString
|
71
|
+
@apiError_Type = apiError_Type
|
72
|
+
@reason = reason
|
57
73
|
end
|
58
74
|
end
|
59
75
|
|
60
|
-
#
|
61
|
-
# -
|
62
|
-
# -
|
63
|
-
|
64
|
-
|
65
|
-
|
76
|
+
# AuthenticationError
|
77
|
+
# - fieldPath - SOAP::SOAPString
|
78
|
+
# - trigger - SOAP::SOAPString
|
79
|
+
# - errorString - SOAP::SOAPString
|
80
|
+
# - apiError_Type - SOAP::SOAPString
|
81
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::AuthenticationErrorReason
|
82
|
+
class AuthenticationError < ApiError
|
83
|
+
attr_accessor :fieldPath
|
84
|
+
attr_accessor :trigger
|
85
|
+
attr_accessor :errorString
|
86
|
+
attr_accessor :apiError_Type
|
87
|
+
attr_accessor :reason
|
66
88
|
|
67
|
-
def initialize(
|
68
|
-
@
|
69
|
-
@
|
89
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
90
|
+
@fieldPath = fieldPath
|
91
|
+
@trigger = trigger
|
92
|
+
@errorString = errorString
|
93
|
+
@apiError_Type = apiError_Type
|
94
|
+
@reason = reason
|
70
95
|
end
|
71
96
|
end
|
72
97
|
|
73
|
-
#
|
74
|
-
# -
|
75
|
-
# -
|
76
|
-
|
77
|
-
|
78
|
-
|
98
|
+
# AuthorizationError
|
99
|
+
# - fieldPath - SOAP::SOAPString
|
100
|
+
# - trigger - SOAP::SOAPString
|
101
|
+
# - errorString - SOAP::SOAPString
|
102
|
+
# - apiError_Type - SOAP::SOAPString
|
103
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::AuthorizationErrorReason
|
104
|
+
class AuthorizationError < ApiError
|
105
|
+
attr_accessor :fieldPath
|
106
|
+
attr_accessor :trigger
|
107
|
+
attr_accessor :errorString
|
108
|
+
attr_accessor :apiError_Type
|
109
|
+
attr_accessor :reason
|
79
110
|
|
80
|
-
def initialize(
|
81
|
-
@
|
82
|
-
@
|
111
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
112
|
+
@fieldPath = fieldPath
|
113
|
+
@trigger = trigger
|
114
|
+
@errorString = errorString
|
115
|
+
@apiError_Type = apiError_Type
|
116
|
+
@reason = reason
|
83
117
|
end
|
84
118
|
end
|
85
119
|
|
86
|
-
#
|
87
|
-
# -
|
88
|
-
# -
|
89
|
-
# -
|
90
|
-
# -
|
91
|
-
# -
|
92
|
-
|
93
|
-
|
94
|
-
attr_accessor :
|
95
|
-
attr_accessor :
|
96
|
-
attr_accessor :
|
97
|
-
attr_accessor :
|
98
|
-
attr_accessor :userAgent
|
99
|
-
attr_accessor :validateOnly
|
120
|
+
# BiddingError
|
121
|
+
# - fieldPath - SOAP::SOAPString
|
122
|
+
# - trigger - SOAP::SOAPString
|
123
|
+
# - errorString - SOAP::SOAPString
|
124
|
+
# - apiError_Type - SOAP::SOAPString
|
125
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::BiddingErrorReason
|
126
|
+
class BiddingError < ApiError
|
127
|
+
attr_accessor :fieldPath
|
128
|
+
attr_accessor :trigger
|
129
|
+
attr_accessor :errorString
|
130
|
+
attr_accessor :apiError_Type
|
131
|
+
attr_accessor :reason
|
100
132
|
|
101
|
-
def initialize(
|
102
|
-
@
|
103
|
-
@
|
104
|
-
@
|
105
|
-
@
|
106
|
-
@
|
107
|
-
@validateOnly = validateOnly
|
133
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
134
|
+
@fieldPath = fieldPath
|
135
|
+
@trigger = trigger
|
136
|
+
@errorString = errorString
|
137
|
+
@apiError_Type = apiError_Type
|
138
|
+
@reason = reason
|
108
139
|
end
|
109
140
|
end
|
110
141
|
|
111
|
-
#
|
112
|
-
# -
|
113
|
-
# -
|
114
|
-
# -
|
115
|
-
# -
|
116
|
-
|
117
|
-
|
118
|
-
attr_accessor :
|
119
|
-
attr_accessor :
|
120
|
-
attr_accessor :
|
142
|
+
# BudgetError
|
143
|
+
# - fieldPath - SOAP::SOAPString
|
144
|
+
# - trigger - SOAP::SOAPString
|
145
|
+
# - errorString - SOAP::SOAPString
|
146
|
+
# - apiError_Type - SOAP::SOAPString
|
147
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::BudgetErrorReason
|
148
|
+
class BudgetError < ApiError
|
149
|
+
attr_accessor :fieldPath
|
150
|
+
attr_accessor :trigger
|
151
|
+
attr_accessor :errorString
|
152
|
+
attr_accessor :apiError_Type
|
153
|
+
attr_accessor :reason
|
121
154
|
|
122
|
-
def initialize(
|
123
|
-
@
|
124
|
-
@
|
125
|
-
@
|
126
|
-
@
|
155
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
156
|
+
@fieldPath = fieldPath
|
157
|
+
@trigger = trigger
|
158
|
+
@errorString = errorString
|
159
|
+
@apiError_Type = apiError_Type
|
160
|
+
@reason = reason
|
127
161
|
end
|
128
162
|
end
|
129
163
|
|
130
|
-
#
|
131
|
-
#
|
132
|
-
# -
|
133
|
-
|
134
|
-
|
164
|
+
# ClientTermsError
|
165
|
+
# - fieldPath - SOAP::SOAPString
|
166
|
+
# - trigger - SOAP::SOAPString
|
167
|
+
# - errorString - SOAP::SOAPString
|
168
|
+
# - apiError_Type - SOAP::SOAPString
|
169
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::ClientTermsErrorReason
|
170
|
+
class ClientTermsError < ApiError
|
171
|
+
attr_accessor :fieldPath
|
172
|
+
attr_accessor :trigger
|
173
|
+
attr_accessor :errorString
|
174
|
+
attr_accessor :apiError_Type
|
175
|
+
attr_accessor :reason
|
135
176
|
|
136
|
-
def initialize(
|
137
|
-
@
|
177
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
178
|
+
@fieldPath = fieldPath
|
179
|
+
@trigger = trigger
|
180
|
+
@errorString = errorString
|
181
|
+
@apiError_Type = apiError_Type
|
182
|
+
@reason = reason
|
138
183
|
end
|
139
184
|
end
|
140
185
|
|
141
|
-
#
|
142
|
-
# -
|
143
|
-
# -
|
144
|
-
|
145
|
-
|
146
|
-
|
186
|
+
# DatabaseError
|
187
|
+
# - fieldPath - SOAP::SOAPString
|
188
|
+
# - trigger - SOAP::SOAPString
|
189
|
+
# - errorString - SOAP::SOAPString
|
190
|
+
# - apiError_Type - SOAP::SOAPString
|
191
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::DatabaseErrorReason
|
192
|
+
class DatabaseError < ApiError
|
193
|
+
attr_accessor :fieldPath
|
194
|
+
attr_accessor :trigger
|
195
|
+
attr_accessor :errorString
|
196
|
+
attr_accessor :apiError_Type
|
197
|
+
attr_accessor :reason
|
147
198
|
|
148
|
-
def initialize(
|
149
|
-
@
|
150
|
-
@
|
199
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
200
|
+
@fieldPath = fieldPath
|
201
|
+
@trigger = trigger
|
202
|
+
@errorString = errorString
|
203
|
+
@apiError_Type = apiError_Type
|
204
|
+
@reason = reason
|
151
205
|
end
|
152
206
|
end
|
153
207
|
|
154
|
-
#
|
155
|
-
#
|
156
|
-
# -
|
157
|
-
|
158
|
-
|
208
|
+
# DateError
|
209
|
+
# - fieldPath - SOAP::SOAPString
|
210
|
+
# - trigger - SOAP::SOAPString
|
211
|
+
# - errorString - SOAP::SOAPString
|
212
|
+
# - apiError_Type - SOAP::SOAPString
|
213
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::DateErrorReason
|
214
|
+
class DateError < ApiError
|
215
|
+
attr_accessor :fieldPath
|
216
|
+
attr_accessor :trigger
|
217
|
+
attr_accessor :errorString
|
218
|
+
attr_accessor :apiError_Type
|
219
|
+
attr_accessor :reason
|
159
220
|
|
160
|
-
def initialize(
|
161
|
-
@
|
221
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
222
|
+
@fieldPath = fieldPath
|
223
|
+
@trigger = trigger
|
224
|
+
@errorString = errorString
|
225
|
+
@apiError_Type = apiError_Type
|
226
|
+
@reason = reason
|
162
227
|
end
|
163
228
|
end
|
164
229
|
|
165
|
-
#
|
166
|
-
# -
|
167
|
-
# -
|
168
|
-
|
169
|
-
|
170
|
-
|
230
|
+
# DistinctError
|
231
|
+
# - fieldPath - SOAP::SOAPString
|
232
|
+
# - trigger - SOAP::SOAPString
|
233
|
+
# - errorString - SOAP::SOAPString
|
234
|
+
# - apiError_Type - SOAP::SOAPString
|
235
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::DistinctErrorReason
|
236
|
+
class DistinctError < ApiError
|
237
|
+
attr_accessor :fieldPath
|
238
|
+
attr_accessor :trigger
|
239
|
+
attr_accessor :errorString
|
240
|
+
attr_accessor :apiError_Type
|
241
|
+
attr_accessor :reason
|
171
242
|
|
172
|
-
def initialize(
|
173
|
-
@
|
174
|
-
@
|
243
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
244
|
+
@fieldPath = fieldPath
|
245
|
+
@trigger = trigger
|
246
|
+
@errorString = errorString
|
247
|
+
@apiError_Type = apiError_Type
|
248
|
+
@reason = reason
|
175
249
|
end
|
176
250
|
end
|
177
251
|
|
178
|
-
#
|
179
|
-
# -
|
180
|
-
# -
|
181
|
-
|
182
|
-
|
183
|
-
|
252
|
+
# EntityCountLimitExceeded
|
253
|
+
# - fieldPath - SOAP::SOAPString
|
254
|
+
# - trigger - SOAP::SOAPString
|
255
|
+
# - errorString - SOAP::SOAPString
|
256
|
+
# - apiError_Type - SOAP::SOAPString
|
257
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::EntityCountLimitExceededReason
|
258
|
+
# - enclosingId - SOAP::SOAPString
|
259
|
+
# - limit - SOAP::SOAPInt
|
260
|
+
class EntityCountLimitExceeded < ApiError
|
261
|
+
attr_accessor :fieldPath
|
262
|
+
attr_accessor :trigger
|
263
|
+
attr_accessor :errorString
|
264
|
+
attr_accessor :apiError_Type
|
265
|
+
attr_accessor :reason
|
266
|
+
attr_accessor :enclosingId
|
267
|
+
attr_accessor :limit
|
184
268
|
|
185
|
-
def initialize(
|
186
|
-
@
|
187
|
-
@
|
269
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil, enclosingId = nil, limit = nil)
|
270
|
+
@fieldPath = fieldPath
|
271
|
+
@trigger = trigger
|
272
|
+
@errorString = errorString
|
273
|
+
@apiError_Type = apiError_Type
|
274
|
+
@reason = reason
|
275
|
+
@enclosingId = enclosingId
|
276
|
+
@limit = limit
|
188
277
|
end
|
189
278
|
end
|
190
279
|
|
191
|
-
#
|
192
|
-
#
|
193
|
-
# -
|
194
|
-
|
195
|
-
|
280
|
+
# AdGroupCriterionLimitExceeded
|
281
|
+
# - fieldPath - SOAP::SOAPString
|
282
|
+
# - trigger - SOAP::SOAPString
|
283
|
+
# - errorString - SOAP::SOAPString
|
284
|
+
# - apiError_Type - SOAP::SOAPString
|
285
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::EntityCountLimitExceededReason
|
286
|
+
# - enclosingId - SOAP::SOAPString
|
287
|
+
# - limit - SOAP::SOAPInt
|
288
|
+
# - limitType - AdwordsApi::V201003::TargetingIdeaService::AdGroupCriterionLimitExceededCriteriaLimitType
|
289
|
+
class AdGroupCriterionLimitExceeded < EntityCountLimitExceeded
|
290
|
+
attr_accessor :fieldPath
|
291
|
+
attr_accessor :trigger
|
292
|
+
attr_accessor :errorString
|
293
|
+
attr_accessor :apiError_Type
|
294
|
+
attr_accessor :reason
|
295
|
+
attr_accessor :enclosingId
|
296
|
+
attr_accessor :limit
|
297
|
+
attr_accessor :limitType
|
196
298
|
|
197
|
-
def initialize(
|
198
|
-
@
|
299
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil, enclosingId = nil, limit = nil, limitType = nil)
|
300
|
+
@fieldPath = fieldPath
|
301
|
+
@trigger = trigger
|
302
|
+
@errorString = errorString
|
303
|
+
@apiError_Type = apiError_Type
|
304
|
+
@reason = reason
|
305
|
+
@enclosingId = enclosingId
|
306
|
+
@limit = limit
|
307
|
+
@limitType = limitType
|
199
308
|
end
|
200
309
|
end
|
201
310
|
|
202
|
-
#
|
203
|
-
# -
|
204
|
-
# -
|
205
|
-
# -
|
206
|
-
# -
|
207
|
-
# -
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
attr_accessor :
|
212
|
-
attr_accessor :
|
213
|
-
attr_accessor :
|
214
|
-
attr_accessor :startMinute
|
215
|
-
attr_accessor :endHour
|
216
|
-
attr_accessor :endMinute
|
217
|
-
attr_accessor :bidMultiplier
|
311
|
+
# EntityNotFound
|
312
|
+
# - fieldPath - SOAP::SOAPString
|
313
|
+
# - trigger - SOAP::SOAPString
|
314
|
+
# - errorString - SOAP::SOAPString
|
315
|
+
# - apiError_Type - SOAP::SOAPString
|
316
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::EntityNotFoundReason
|
317
|
+
class EntityNotFound < ApiError
|
318
|
+
attr_accessor :fieldPath
|
319
|
+
attr_accessor :trigger
|
320
|
+
attr_accessor :errorString
|
321
|
+
attr_accessor :apiError_Type
|
322
|
+
attr_accessor :reason
|
218
323
|
|
219
|
-
def initialize(
|
220
|
-
@
|
221
|
-
@
|
222
|
-
@
|
223
|
-
@
|
224
|
-
@
|
225
|
-
@endMinute = endMinute
|
226
|
-
@bidMultiplier = bidMultiplier
|
324
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
325
|
+
@fieldPath = fieldPath
|
326
|
+
@trigger = trigger
|
327
|
+
@errorString = errorString
|
328
|
+
@apiError_Type = apiError_Type
|
329
|
+
@reason = reason
|
227
330
|
end
|
228
331
|
end
|
229
332
|
|
230
|
-
#
|
231
|
-
# -
|
232
|
-
# -
|
233
|
-
|
234
|
-
|
235
|
-
|
333
|
+
# InternalApiError
|
334
|
+
# - fieldPath - SOAP::SOAPString
|
335
|
+
# - trigger - SOAP::SOAPString
|
336
|
+
# - errorString - SOAP::SOAPString
|
337
|
+
# - apiError_Type - SOAP::SOAPString
|
338
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::InternalApiErrorReason
|
339
|
+
class InternalApiError < ApiError
|
340
|
+
attr_accessor :fieldPath
|
341
|
+
attr_accessor :trigger
|
342
|
+
attr_accessor :errorString
|
343
|
+
attr_accessor :apiError_Type
|
344
|
+
attr_accessor :reason
|
236
345
|
|
237
|
-
def initialize(
|
238
|
-
@
|
239
|
-
@
|
346
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
347
|
+
@fieldPath = fieldPath
|
348
|
+
@trigger = trigger
|
349
|
+
@errorString = errorString
|
350
|
+
@apiError_Type = apiError_Type
|
351
|
+
@reason = reason
|
240
352
|
end
|
241
353
|
end
|
242
354
|
|
243
|
-
#
|
244
|
-
#
|
245
|
-
# -
|
246
|
-
|
247
|
-
|
355
|
+
# NotEmptyError
|
356
|
+
# - fieldPath - SOAP::SOAPString
|
357
|
+
# - trigger - SOAP::SOAPString
|
358
|
+
# - errorString - SOAP::SOAPString
|
359
|
+
# - apiError_Type - SOAP::SOAPString
|
360
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::NotEmptyErrorReason
|
361
|
+
class NotEmptyError < ApiError
|
362
|
+
attr_accessor :fieldPath
|
363
|
+
attr_accessor :trigger
|
364
|
+
attr_accessor :errorString
|
365
|
+
attr_accessor :apiError_Type
|
366
|
+
attr_accessor :reason
|
248
367
|
|
249
|
-
def initialize(
|
250
|
-
@
|
368
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
369
|
+
@fieldPath = fieldPath
|
370
|
+
@trigger = trigger
|
371
|
+
@errorString = errorString
|
372
|
+
@apiError_Type = apiError_Type
|
373
|
+
@reason = reason
|
251
374
|
end
|
252
375
|
end
|
253
376
|
|
254
|
-
#
|
255
|
-
# -
|
256
|
-
# -
|
257
|
-
# -
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
attr_accessor :
|
377
|
+
# NotWhitelistedError
|
378
|
+
# - fieldPath - SOAP::SOAPString
|
379
|
+
# - trigger - SOAP::SOAPString
|
380
|
+
# - errorString - SOAP::SOAPString
|
381
|
+
# - apiError_Type - SOAP::SOAPString
|
382
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::NotWhitelistedErrorReason
|
383
|
+
class NotWhitelistedError < ApiError
|
384
|
+
attr_accessor :fieldPath
|
385
|
+
attr_accessor :trigger
|
386
|
+
attr_accessor :errorString
|
387
|
+
attr_accessor :apiError_Type
|
388
|
+
attr_accessor :reason
|
262
389
|
|
263
|
-
def initialize(
|
264
|
-
@
|
265
|
-
@
|
266
|
-
@
|
390
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
391
|
+
@fieldPath = fieldPath
|
392
|
+
@trigger = trigger
|
393
|
+
@errorString = errorString
|
394
|
+
@apiError_Type = apiError_Type
|
395
|
+
@reason = reason
|
267
396
|
end
|
268
397
|
end
|
269
398
|
|
270
|
-
#
|
271
|
-
# -
|
272
|
-
# -
|
273
|
-
|
274
|
-
|
275
|
-
|
399
|
+
# NullError
|
400
|
+
# - fieldPath - SOAP::SOAPString
|
401
|
+
# - trigger - SOAP::SOAPString
|
402
|
+
# - errorString - SOAP::SOAPString
|
403
|
+
# - apiError_Type - SOAP::SOAPString
|
404
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::NullErrorReason
|
405
|
+
class NullError < ApiError
|
406
|
+
attr_accessor :fieldPath
|
407
|
+
attr_accessor :trigger
|
408
|
+
attr_accessor :errorString
|
409
|
+
attr_accessor :apiError_Type
|
410
|
+
attr_accessor :reason
|
276
411
|
|
277
|
-
def initialize(
|
278
|
-
@
|
279
|
-
@
|
412
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
413
|
+
@fieldPath = fieldPath
|
414
|
+
@trigger = trigger
|
415
|
+
@errorString = errorString
|
416
|
+
@apiError_Type = apiError_Type
|
417
|
+
@reason = reason
|
280
418
|
end
|
281
419
|
end
|
282
420
|
|
283
|
-
#
|
284
|
-
# - target_Type - SOAP::SOAPString
|
285
|
-
# - networkCoverageType - AdwordsApi::V201003::TargetingIdeaService::NetworkCoverageType
|
286
|
-
class NetworkTarget < Target
|
287
|
-
attr_accessor :target_Type
|
288
|
-
attr_accessor :networkCoverageType
|
289
|
-
|
290
|
-
def initialize(target_Type = nil, networkCoverageType = nil)
|
291
|
-
@target_Type = target_Type
|
292
|
-
@networkCoverageType = networkCoverageType
|
293
|
-
end
|
294
|
-
end
|
295
|
-
|
296
|
-
# PlatformTarget
|
297
|
-
# - target_Type - SOAP::SOAPString
|
298
|
-
# - platformType - AdwordsApi::V201003::TargetingIdeaService::PlatformType
|
299
|
-
class PlatformTarget < Target
|
300
|
-
attr_accessor :target_Type
|
301
|
-
attr_accessor :platformType
|
302
|
-
|
303
|
-
def initialize(target_Type = nil, platformType = nil)
|
304
|
-
@target_Type = target_Type
|
305
|
-
@platformType = platformType
|
306
|
-
end
|
307
|
-
end
|
308
|
-
|
309
|
-
# DemographicTarget
|
310
|
-
# abstract
|
311
|
-
# - target_Type - SOAP::SOAPString
|
312
|
-
# - bidModifier - SOAP::SOAPInt
|
313
|
-
class DemographicTarget < Target
|
314
|
-
attr_accessor :target_Type
|
315
|
-
attr_accessor :bidModifier
|
316
|
-
|
317
|
-
def initialize(target_Type = nil, bidModifier = nil)
|
318
|
-
@target_Type = target_Type
|
319
|
-
@bidModifier = bidModifier
|
320
|
-
end
|
321
|
-
end
|
322
|
-
|
323
|
-
# AgeTarget
|
324
|
-
# - target_Type - SOAP::SOAPString
|
325
|
-
# - bidModifier - SOAP::SOAPInt
|
326
|
-
# - age - AdwordsApi::V201003::TargetingIdeaService::AgeTargetAge
|
327
|
-
class AgeTarget < DemographicTarget
|
328
|
-
attr_accessor :target_Type
|
329
|
-
attr_accessor :bidModifier
|
330
|
-
attr_accessor :age
|
331
|
-
|
332
|
-
def initialize(target_Type = nil, bidModifier = nil, age = nil)
|
333
|
-
@target_Type = target_Type
|
334
|
-
@bidModifier = bidModifier
|
335
|
-
@age = age
|
336
|
-
end
|
337
|
-
end
|
338
|
-
|
339
|
-
# GenderTarget
|
340
|
-
# - target_Type - SOAP::SOAPString
|
341
|
-
# - bidModifier - SOAP::SOAPInt
|
342
|
-
# - gender - AdwordsApi::V201003::TargetingIdeaService::GenderTargetGender
|
343
|
-
class GenderTarget < DemographicTarget
|
344
|
-
attr_accessor :target_Type
|
345
|
-
attr_accessor :bidModifier
|
346
|
-
attr_accessor :gender
|
347
|
-
|
348
|
-
def initialize(target_Type = nil, bidModifier = nil, gender = nil)
|
349
|
-
@target_Type = target_Type
|
350
|
-
@bidModifier = bidModifier
|
351
|
-
@gender = gender
|
352
|
-
end
|
353
|
-
end
|
354
|
-
|
355
|
-
# GeoTarget
|
356
|
-
# abstract
|
357
|
-
# - target_Type - SOAP::SOAPString
|
358
|
-
# - excluded - SOAP::SOAPBoolean
|
359
|
-
class GeoTarget < Target
|
360
|
-
attr_accessor :target_Type
|
361
|
-
attr_accessor :excluded
|
362
|
-
|
363
|
-
def initialize(target_Type = nil, excluded = nil)
|
364
|
-
@target_Type = target_Type
|
365
|
-
@excluded = excluded
|
366
|
-
end
|
367
|
-
end
|
368
|
-
|
369
|
-
# CityTarget
|
370
|
-
# - target_Type - SOAP::SOAPString
|
371
|
-
# - excluded - SOAP::SOAPBoolean
|
372
|
-
# - cityName - SOAP::SOAPString
|
373
|
-
# - provinceCode - SOAP::SOAPString
|
374
|
-
# - countryCode - SOAP::SOAPString
|
375
|
-
class CityTarget < GeoTarget
|
376
|
-
attr_accessor :target_Type
|
377
|
-
attr_accessor :excluded
|
378
|
-
attr_accessor :cityName
|
379
|
-
attr_accessor :provinceCode
|
380
|
-
attr_accessor :countryCode
|
381
|
-
|
382
|
-
def initialize(target_Type = nil, excluded = nil, cityName = nil, provinceCode = nil, countryCode = nil)
|
383
|
-
@target_Type = target_Type
|
384
|
-
@excluded = excluded
|
385
|
-
@cityName = cityName
|
386
|
-
@provinceCode = provinceCode
|
387
|
-
@countryCode = countryCode
|
388
|
-
end
|
389
|
-
end
|
390
|
-
|
391
|
-
# CountryTarget
|
392
|
-
# - target_Type - SOAP::SOAPString
|
393
|
-
# - excluded - SOAP::SOAPBoolean
|
394
|
-
# - countryCode - SOAP::SOAPString
|
395
|
-
class CountryTarget < GeoTarget
|
396
|
-
attr_accessor :target_Type
|
397
|
-
attr_accessor :excluded
|
398
|
-
attr_accessor :countryCode
|
399
|
-
|
400
|
-
def initialize(target_Type = nil, excluded = nil, countryCode = nil)
|
401
|
-
@target_Type = target_Type
|
402
|
-
@excluded = excluded
|
403
|
-
@countryCode = countryCode
|
404
|
-
end
|
405
|
-
end
|
406
|
-
|
407
|
-
# MetroTarget
|
408
|
-
# - target_Type - SOAP::SOAPString
|
409
|
-
# - excluded - SOAP::SOAPBoolean
|
410
|
-
# - metroCode - SOAP::SOAPString
|
411
|
-
class MetroTarget < GeoTarget
|
412
|
-
attr_accessor :target_Type
|
413
|
-
attr_accessor :excluded
|
414
|
-
attr_accessor :metroCode
|
415
|
-
|
416
|
-
def initialize(target_Type = nil, excluded = nil, metroCode = nil)
|
417
|
-
@target_Type = target_Type
|
418
|
-
@excluded = excluded
|
419
|
-
@metroCode = metroCode
|
420
|
-
end
|
421
|
-
end
|
422
|
-
|
423
|
-
# PolygonTarget
|
424
|
-
# - target_Type - SOAP::SOAPString
|
425
|
-
# - excluded - SOAP::SOAPBoolean
|
426
|
-
# - vertices - AdwordsApi::V201003::TargetingIdeaService::GeoPoint
|
427
|
-
class PolygonTarget < GeoTarget
|
428
|
-
attr_accessor :target_Type
|
429
|
-
attr_accessor :excluded
|
430
|
-
attr_accessor :vertices
|
431
|
-
|
432
|
-
def initialize(target_Type = nil, excluded = nil, vertices = [])
|
433
|
-
@target_Type = target_Type
|
434
|
-
@excluded = excluded
|
435
|
-
@vertices = vertices
|
436
|
-
end
|
437
|
-
end
|
438
|
-
|
439
|
-
# ProvinceTarget
|
440
|
-
# - target_Type - SOAP::SOAPString
|
441
|
-
# - excluded - SOAP::SOAPBoolean
|
442
|
-
# - provinceCode - SOAP::SOAPString
|
443
|
-
class ProvinceTarget < GeoTarget
|
444
|
-
attr_accessor :target_Type
|
445
|
-
attr_accessor :excluded
|
446
|
-
attr_accessor :provinceCode
|
447
|
-
|
448
|
-
def initialize(target_Type = nil, excluded = nil, provinceCode = nil)
|
449
|
-
@target_Type = target_Type
|
450
|
-
@excluded = excluded
|
451
|
-
@provinceCode = provinceCode
|
452
|
-
end
|
453
|
-
end
|
454
|
-
|
455
|
-
# ProximityTarget
|
456
|
-
# - target_Type - SOAP::SOAPString
|
457
|
-
# - excluded - SOAP::SOAPBoolean
|
458
|
-
# - geoPoint - AdwordsApi::V201003::TargetingIdeaService::GeoPoint
|
459
|
-
# - radiusDistanceUnits - AdwordsApi::V201003::TargetingIdeaService::ProximityTargetDistanceUnits
|
460
|
-
# - radiusInUnits - SOAP::SOAPDouble
|
461
|
-
# - address - AdwordsApi::V201003::TargetingIdeaService::Address
|
462
|
-
# - allowServiceOfAddress - SOAP::SOAPBoolean
|
463
|
-
class ProximityTarget < GeoTarget
|
464
|
-
attr_accessor :target_Type
|
465
|
-
attr_accessor :excluded
|
466
|
-
attr_accessor :geoPoint
|
467
|
-
attr_accessor :radiusDistanceUnits
|
468
|
-
attr_accessor :radiusInUnits
|
469
|
-
attr_accessor :address
|
470
|
-
attr_accessor :allowServiceOfAddress
|
471
|
-
|
472
|
-
def initialize(target_Type = nil, excluded = nil, geoPoint = nil, radiusDistanceUnits = nil, radiusInUnits = nil, address = nil, allowServiceOfAddress = nil)
|
473
|
-
@target_Type = target_Type
|
474
|
-
@excluded = excluded
|
475
|
-
@geoPoint = geoPoint
|
476
|
-
@radiusDistanceUnits = radiusDistanceUnits
|
477
|
-
@radiusInUnits = radiusInUnits
|
478
|
-
@address = address
|
479
|
-
@allowServiceOfAddress = allowServiceOfAddress
|
480
|
-
end
|
481
|
-
end
|
482
|
-
|
483
|
-
# ApiError
|
484
|
-
# abstract
|
421
|
+
# PolicyViolationError
|
485
422
|
# - fieldPath - SOAP::SOAPString
|
486
423
|
# - trigger - SOAP::SOAPString
|
487
424
|
# - errorString - SOAP::SOAPString
|
488
425
|
# - apiError_Type - SOAP::SOAPString
|
489
|
-
|
426
|
+
# - key - AdwordsApi::V201003::TargetingIdeaService::PolicyViolationKey
|
427
|
+
# - externalPolicyName - SOAP::SOAPString
|
428
|
+
# - externalPolicyUrl - SOAP::SOAPString
|
429
|
+
# - externalPolicyDescription - SOAP::SOAPString
|
430
|
+
# - isExemptable - SOAP::SOAPBoolean
|
431
|
+
# - violatingParts - AdwordsApi::V201003::TargetingIdeaService::PolicyViolationErrorPart
|
432
|
+
class PolicyViolationError < ApiError
|
490
433
|
attr_accessor :fieldPath
|
491
434
|
attr_accessor :trigger
|
492
435
|
attr_accessor :errorString
|
493
436
|
attr_accessor :apiError_Type
|
437
|
+
attr_accessor :key
|
438
|
+
attr_accessor :externalPolicyName
|
439
|
+
attr_accessor :externalPolicyUrl
|
440
|
+
attr_accessor :externalPolicyDescription
|
441
|
+
attr_accessor :isExemptable
|
442
|
+
attr_accessor :violatingParts
|
494
443
|
|
495
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil)
|
444
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
|
496
445
|
@fieldPath = fieldPath
|
497
446
|
@trigger = trigger
|
498
447
|
@errorString = errorString
|
499
448
|
@apiError_Type = apiError_Type
|
449
|
+
@key = key
|
450
|
+
@externalPolicyName = externalPolicyName
|
451
|
+
@externalPolicyUrl = externalPolicyUrl
|
452
|
+
@externalPolicyDescription = externalPolicyDescription
|
453
|
+
@isExemptable = isExemptable
|
454
|
+
@violatingParts = violatingParts
|
500
455
|
end
|
501
456
|
end
|
502
457
|
|
503
|
-
#
|
458
|
+
# CriterionPolicyError
|
504
459
|
# - fieldPath - SOAP::SOAPString
|
505
460
|
# - trigger - SOAP::SOAPString
|
506
461
|
# - errorString - SOAP::SOAPString
|
507
462
|
# - apiError_Type - SOAP::SOAPString
|
508
|
-
# -
|
509
|
-
|
463
|
+
# - key - AdwordsApi::V201003::TargetingIdeaService::PolicyViolationKey
|
464
|
+
# - externalPolicyName - SOAP::SOAPString
|
465
|
+
# - externalPolicyUrl - SOAP::SOAPString
|
466
|
+
# - externalPolicyDescription - SOAP::SOAPString
|
467
|
+
# - isExemptable - SOAP::SOAPBoolean
|
468
|
+
# - violatingParts - AdwordsApi::V201003::TargetingIdeaService::PolicyViolationErrorPart
|
469
|
+
class CriterionPolicyError < PolicyViolationError
|
510
470
|
attr_accessor :fieldPath
|
511
471
|
attr_accessor :trigger
|
512
472
|
attr_accessor :errorString
|
513
473
|
attr_accessor :apiError_Type
|
514
|
-
attr_accessor :
|
474
|
+
attr_accessor :key
|
475
|
+
attr_accessor :externalPolicyName
|
476
|
+
attr_accessor :externalPolicyUrl
|
477
|
+
attr_accessor :externalPolicyDescription
|
478
|
+
attr_accessor :isExemptable
|
479
|
+
attr_accessor :violatingParts
|
515
480
|
|
516
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil,
|
481
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
|
517
482
|
@fieldPath = fieldPath
|
518
483
|
@trigger = trigger
|
519
484
|
@errorString = errorString
|
520
485
|
@apiError_Type = apiError_Type
|
521
|
-
@
|
486
|
+
@key = key
|
487
|
+
@externalPolicyName = externalPolicyName
|
488
|
+
@externalPolicyUrl = externalPolicyUrl
|
489
|
+
@externalPolicyDescription = externalPolicyDescription
|
490
|
+
@isExemptable = isExemptable
|
491
|
+
@violatingParts = violatingParts
|
522
492
|
end
|
523
493
|
end
|
524
494
|
|
525
|
-
#
|
495
|
+
# QuotaCheckError
|
526
496
|
# - fieldPath - SOAP::SOAPString
|
527
497
|
# - trigger - SOAP::SOAPString
|
528
498
|
# - errorString - SOAP::SOAPString
|
529
499
|
# - apiError_Type - SOAP::SOAPString
|
530
|
-
# - reason - AdwordsApi::V201003::TargetingIdeaService::
|
531
|
-
class
|
500
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::QuotaCheckErrorReason
|
501
|
+
class QuotaCheckError < ApiError
|
532
502
|
attr_accessor :fieldPath
|
533
503
|
attr_accessor :trigger
|
534
504
|
attr_accessor :errorString
|
@@ -544,13 +514,13 @@ class AuthenticationError < ApiError
|
|
544
514
|
end
|
545
515
|
end
|
546
516
|
|
547
|
-
#
|
517
|
+
# RangeError
|
548
518
|
# - fieldPath - SOAP::SOAPString
|
549
519
|
# - trigger - SOAP::SOAPString
|
550
520
|
# - errorString - SOAP::SOAPString
|
551
521
|
# - apiError_Type - SOAP::SOAPString
|
552
|
-
# - reason - AdwordsApi::V201003::TargetingIdeaService::
|
553
|
-
class
|
522
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::RangeErrorReason
|
523
|
+
class C_RangeError < ApiError
|
554
524
|
attr_accessor :fieldPath
|
555
525
|
attr_accessor :trigger
|
556
526
|
attr_accessor :errorString
|
@@ -566,35 +536,44 @@ class AuthorizationError < ApiError
|
|
566
536
|
end
|
567
537
|
end
|
568
538
|
|
569
|
-
#
|
539
|
+
# RateExceededError
|
570
540
|
# - fieldPath - SOAP::SOAPString
|
571
541
|
# - trigger - SOAP::SOAPString
|
572
542
|
# - errorString - SOAP::SOAPString
|
573
543
|
# - apiError_Type - SOAP::SOAPString
|
574
|
-
# - reason - AdwordsApi::V201003::TargetingIdeaService::
|
575
|
-
|
544
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::RateExceededErrorReason
|
545
|
+
# - rateName - SOAP::SOAPString
|
546
|
+
# - rateScope - SOAP::SOAPString
|
547
|
+
# - retryAfterSeconds - SOAP::SOAPInt
|
548
|
+
class RateExceededError < ApiError
|
576
549
|
attr_accessor :fieldPath
|
577
550
|
attr_accessor :trigger
|
578
551
|
attr_accessor :errorString
|
579
552
|
attr_accessor :apiError_Type
|
580
553
|
attr_accessor :reason
|
554
|
+
attr_accessor :rateName
|
555
|
+
attr_accessor :rateScope
|
556
|
+
attr_accessor :retryAfterSeconds
|
581
557
|
|
582
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
558
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil, rateName = nil, rateScope = nil, retryAfterSeconds = nil)
|
583
559
|
@fieldPath = fieldPath
|
584
560
|
@trigger = trigger
|
585
561
|
@errorString = errorString
|
586
562
|
@apiError_Type = apiError_Type
|
587
563
|
@reason = reason
|
564
|
+
@rateName = rateName
|
565
|
+
@rateScope = rateScope
|
566
|
+
@retryAfterSeconds = retryAfterSeconds
|
588
567
|
end
|
589
568
|
end
|
590
569
|
|
591
|
-
#
|
570
|
+
# ReadOnlyError
|
592
571
|
# - fieldPath - SOAP::SOAPString
|
593
572
|
# - trigger - SOAP::SOAPString
|
594
573
|
# - errorString - SOAP::SOAPString
|
595
574
|
# - apiError_Type - SOAP::SOAPString
|
596
|
-
# - reason - AdwordsApi::V201003::TargetingIdeaService::
|
597
|
-
class
|
575
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::ReadOnlyErrorReason
|
576
|
+
class ReadOnlyError < ApiError
|
598
577
|
attr_accessor :fieldPath
|
599
578
|
attr_accessor :trigger
|
600
579
|
attr_accessor :errorString
|
@@ -610,13 +589,13 @@ class BudgetError < ApiError
|
|
610
589
|
end
|
611
590
|
end
|
612
591
|
|
613
|
-
#
|
592
|
+
# RegionCodeError
|
614
593
|
# - fieldPath - SOAP::SOAPString
|
615
594
|
# - trigger - SOAP::SOAPString
|
616
595
|
# - errorString - SOAP::SOAPString
|
617
596
|
# - apiError_Type - SOAP::SOAPString
|
618
|
-
# - reason - AdwordsApi::V201003::TargetingIdeaService::
|
619
|
-
class
|
597
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::RegionCodeErrorReason
|
598
|
+
class RegionCodeError < ApiError
|
620
599
|
attr_accessor :fieldPath
|
621
600
|
attr_accessor :trigger
|
622
601
|
attr_accessor :errorString
|
@@ -632,13 +611,13 @@ class ClientTermsError < ApiError
|
|
632
611
|
end
|
633
612
|
end
|
634
613
|
|
635
|
-
#
|
614
|
+
# RequestError
|
636
615
|
# - fieldPath - SOAP::SOAPString
|
637
616
|
# - trigger - SOAP::SOAPString
|
638
617
|
# - errorString - SOAP::SOAPString
|
639
618
|
# - apiError_Type - SOAP::SOAPString
|
640
|
-
# - reason - AdwordsApi::V201003::TargetingIdeaService::
|
641
|
-
class
|
619
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::RequestErrorReason
|
620
|
+
class RequestError < ApiError
|
642
621
|
attr_accessor :fieldPath
|
643
622
|
attr_accessor :trigger
|
644
623
|
attr_accessor :errorString
|
@@ -654,13 +633,13 @@ class DateError < ApiError
|
|
654
633
|
end
|
655
634
|
end
|
656
635
|
|
657
|
-
#
|
636
|
+
# RequiredError
|
658
637
|
# - fieldPath - SOAP::SOAPString
|
659
638
|
# - trigger - SOAP::SOAPString
|
660
639
|
# - errorString - SOAP::SOAPString
|
661
640
|
# - apiError_Type - SOAP::SOAPString
|
662
|
-
# - reason - AdwordsApi::V201003::TargetingIdeaService::
|
663
|
-
class
|
641
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::RequiredErrorReason
|
642
|
+
class RequiredError < ApiError
|
664
643
|
attr_accessor :fieldPath
|
665
644
|
attr_accessor :trigger
|
666
645
|
attr_accessor :errorString
|
@@ -676,72 +655,57 @@ class DistinctError < ApiError
|
|
676
655
|
end
|
677
656
|
end
|
678
657
|
|
679
|
-
#
|
658
|
+
# SizeLimitError
|
680
659
|
# - fieldPath - SOAP::SOAPString
|
681
660
|
# - trigger - SOAP::SOAPString
|
682
661
|
# - errorString - SOAP::SOAPString
|
683
662
|
# - apiError_Type - SOAP::SOAPString
|
684
|
-
# - reason - AdwordsApi::V201003::TargetingIdeaService::
|
685
|
-
|
686
|
-
# - limit - SOAP::SOAPInt
|
687
|
-
class EntityCountLimitExceeded < ApiError
|
663
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::SizeLimitErrorReason
|
664
|
+
class SizeLimitError < ApiError
|
688
665
|
attr_accessor :fieldPath
|
689
666
|
attr_accessor :trigger
|
690
667
|
attr_accessor :errorString
|
691
668
|
attr_accessor :apiError_Type
|
692
669
|
attr_accessor :reason
|
693
|
-
attr_accessor :enclosingId
|
694
|
-
attr_accessor :limit
|
695
670
|
|
696
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil
|
671
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
697
672
|
@fieldPath = fieldPath
|
698
673
|
@trigger = trigger
|
699
674
|
@errorString = errorString
|
700
675
|
@apiError_Type = apiError_Type
|
701
676
|
@reason = reason
|
702
|
-
@enclosingId = enclosingId
|
703
|
-
@limit = limit
|
704
677
|
end
|
705
678
|
end
|
706
679
|
|
707
|
-
#
|
680
|
+
# StatsQueryError
|
708
681
|
# - fieldPath - SOAP::SOAPString
|
709
682
|
# - trigger - SOAP::SOAPString
|
710
683
|
# - errorString - SOAP::SOAPString
|
711
684
|
# - apiError_Type - SOAP::SOAPString
|
712
|
-
# - reason - AdwordsApi::V201003::TargetingIdeaService::
|
713
|
-
|
714
|
-
# - limit - SOAP::SOAPInt
|
715
|
-
# - limitType - AdwordsApi::V201003::TargetingIdeaService::AdGroupCriterionLimitExceededCriteriaLimitType
|
716
|
-
class AdGroupCriterionLimitExceeded < EntityCountLimitExceeded
|
685
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::StatsQueryErrorReason
|
686
|
+
class StatsQueryError < ApiError
|
717
687
|
attr_accessor :fieldPath
|
718
688
|
attr_accessor :trigger
|
719
689
|
attr_accessor :errorString
|
720
690
|
attr_accessor :apiError_Type
|
721
691
|
attr_accessor :reason
|
722
|
-
attr_accessor :enclosingId
|
723
|
-
attr_accessor :limit
|
724
|
-
attr_accessor :limitType
|
725
692
|
|
726
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil
|
693
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
727
694
|
@fieldPath = fieldPath
|
728
695
|
@trigger = trigger
|
729
696
|
@errorString = errorString
|
730
697
|
@apiError_Type = apiError_Type
|
731
698
|
@reason = reason
|
732
|
-
@enclosingId = enclosingId
|
733
|
-
@limit = limit
|
734
|
-
@limitType = limitType
|
735
699
|
end
|
736
700
|
end
|
737
701
|
|
738
|
-
#
|
702
|
+
# StringLengthError
|
739
703
|
# - fieldPath - SOAP::SOAPString
|
740
704
|
# - trigger - SOAP::SOAPString
|
741
705
|
# - errorString - SOAP::SOAPString
|
742
706
|
# - apiError_Type - SOAP::SOAPString
|
743
|
-
# - reason - AdwordsApi::V201003::TargetingIdeaService::
|
744
|
-
class
|
707
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::StringLengthErrorReason
|
708
|
+
class StringLengthError < ApiError
|
745
709
|
attr_accessor :fieldPath
|
746
710
|
attr_accessor :trigger
|
747
711
|
attr_accessor :errorString
|
@@ -757,13 +721,13 @@ class EntityNotFound < ApiError
|
|
757
721
|
end
|
758
722
|
end
|
759
723
|
|
760
|
-
#
|
724
|
+
# TargetError
|
761
725
|
# - fieldPath - SOAP::SOAPString
|
762
726
|
# - trigger - SOAP::SOAPString
|
763
727
|
# - errorString - SOAP::SOAPString
|
764
728
|
# - apiError_Type - SOAP::SOAPString
|
765
|
-
# - reason - AdwordsApi::V201003::TargetingIdeaService::
|
766
|
-
class
|
729
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::TargetErrorReason
|
730
|
+
class TargetError < ApiError
|
767
731
|
attr_accessor :fieldPath
|
768
732
|
attr_accessor :trigger
|
769
733
|
attr_accessor :errorString
|
@@ -779,13 +743,13 @@ class InternalApiError < ApiError
|
|
779
743
|
end
|
780
744
|
end
|
781
745
|
|
782
|
-
#
|
746
|
+
# CollectionSizeError
|
783
747
|
# - fieldPath - SOAP::SOAPString
|
784
748
|
# - trigger - SOAP::SOAPString
|
785
749
|
# - errorString - SOAP::SOAPString
|
786
750
|
# - apiError_Type - SOAP::SOAPString
|
787
|
-
# - reason - AdwordsApi::V201003::TargetingIdeaService::
|
788
|
-
class
|
751
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::CollectionSizeErrorReason
|
752
|
+
class CollectionSizeError < ApiError
|
789
753
|
attr_accessor :fieldPath
|
790
754
|
attr_accessor :trigger
|
791
755
|
attr_accessor :errorString
|
@@ -801,13 +765,13 @@ class NotEmptyError < ApiError
|
|
801
765
|
end
|
802
766
|
end
|
803
767
|
|
804
|
-
#
|
768
|
+
# TargetingIdeaError
|
805
769
|
# - fieldPath - SOAP::SOAPString
|
806
770
|
# - trigger - SOAP::SOAPString
|
807
771
|
# - errorString - SOAP::SOAPString
|
808
772
|
# - apiError_Type - SOAP::SOAPString
|
809
|
-
# - reason - AdwordsApi::V201003::TargetingIdeaService::
|
810
|
-
class
|
773
|
+
# - reason - AdwordsApi::V201003::TargetingIdeaService::TargetingIdeaErrorReason
|
774
|
+
class TargetingIdeaError < ApiError
|
811
775
|
attr_accessor :fieldPath
|
812
776
|
attr_accessor :trigger
|
813
777
|
attr_accessor :errorString
|
@@ -823,519 +787,774 @@ class NotWhitelistedError < ApiError
|
|
823
787
|
end
|
824
788
|
end
|
825
789
|
|
826
|
-
#
|
827
|
-
# -
|
828
|
-
# -
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
class NullError < ApiError
|
833
|
-
attr_accessor :fieldPath
|
834
|
-
attr_accessor :trigger
|
835
|
-
attr_accessor :errorString
|
836
|
-
attr_accessor :apiError_Type
|
837
|
-
attr_accessor :reason
|
790
|
+
# ApplicationException
|
791
|
+
# - message - SOAP::SOAPString
|
792
|
+
# - applicationException_Type - SOAP::SOAPString
|
793
|
+
class ApplicationException
|
794
|
+
attr_accessor :message
|
795
|
+
attr_accessor :applicationException_Type
|
838
796
|
|
839
|
-
def initialize(
|
840
|
-
@
|
841
|
-
@
|
842
|
-
|
843
|
-
|
844
|
-
|
797
|
+
def initialize(message = nil, applicationException_Type = nil)
|
798
|
+
@message = message
|
799
|
+
@applicationException_Type = applicationException_Type
|
800
|
+
end
|
801
|
+
end
|
802
|
+
|
803
|
+
# ApiException
|
804
|
+
# - message - SOAP::SOAPString
|
805
|
+
# - applicationException_Type - SOAP::SOAPString
|
806
|
+
# - errors - AdwordsApi::V201003::TargetingIdeaService::ApiError
|
807
|
+
class ApiException < ApplicationException
|
808
|
+
attr_accessor :message
|
809
|
+
attr_accessor :applicationException_Type
|
810
|
+
attr_accessor :errors
|
811
|
+
|
812
|
+
def initialize(message = nil, applicationException_Type = nil, errors = [])
|
813
|
+
@message = message
|
814
|
+
@applicationException_Type = applicationException_Type
|
815
|
+
@errors = errors
|
816
|
+
end
|
817
|
+
end
|
818
|
+
|
819
|
+
# ComparableValue
|
820
|
+
# abstract
|
821
|
+
# - comparableValue_Type - SOAP::SOAPString
|
822
|
+
class ComparableValue
|
823
|
+
attr_accessor :comparableValue_Type
|
824
|
+
|
825
|
+
def initialize(comparableValue_Type = nil)
|
826
|
+
@comparableValue_Type = comparableValue_Type
|
827
|
+
end
|
828
|
+
end
|
829
|
+
|
830
|
+
# Money
|
831
|
+
# - comparableValue_Type - SOAP::SOAPString
|
832
|
+
# - microAmount - SOAP::SOAPLong
|
833
|
+
class Money < ComparableValue
|
834
|
+
attr_accessor :comparableValue_Type
|
835
|
+
attr_accessor :microAmount
|
836
|
+
|
837
|
+
def initialize(comparableValue_Type = nil, microAmount = nil)
|
838
|
+
@comparableValue_Type = comparableValue_Type
|
839
|
+
@microAmount = microAmount
|
840
|
+
end
|
841
|
+
end
|
842
|
+
|
843
|
+
# NumberValue
|
844
|
+
# abstract
|
845
|
+
# - comparableValue_Type - SOAP::SOAPString
|
846
|
+
class NumberValue < ComparableValue
|
847
|
+
attr_accessor :comparableValue_Type
|
848
|
+
|
849
|
+
def initialize(comparableValue_Type = nil)
|
850
|
+
@comparableValue_Type = comparableValue_Type
|
851
|
+
end
|
852
|
+
end
|
853
|
+
|
854
|
+
# DoubleValue
|
855
|
+
# - comparableValue_Type - SOAP::SOAPString
|
856
|
+
# - number - SOAP::SOAPDouble
|
857
|
+
class DoubleValue < NumberValue
|
858
|
+
attr_accessor :comparableValue_Type
|
859
|
+
attr_accessor :number
|
860
|
+
|
861
|
+
def initialize(comparableValue_Type = nil, number = nil)
|
862
|
+
@comparableValue_Type = comparableValue_Type
|
863
|
+
@number = number
|
864
|
+
end
|
865
|
+
end
|
866
|
+
|
867
|
+
# LongValue
|
868
|
+
# - comparableValue_Type - SOAP::SOAPString
|
869
|
+
# - number - SOAP::SOAPLong
|
870
|
+
class LongValue < NumberValue
|
871
|
+
attr_accessor :comparableValue_Type
|
872
|
+
attr_accessor :number
|
873
|
+
|
874
|
+
def initialize(comparableValue_Type = nil, number = nil)
|
875
|
+
@comparableValue_Type = comparableValue_Type
|
876
|
+
@number = number
|
877
|
+
end
|
878
|
+
end
|
879
|
+
|
880
|
+
# Criterion
|
881
|
+
# - id - SOAP::SOAPLong
|
882
|
+
# - criterion_Type - SOAP::SOAPString
|
883
|
+
class Criterion
|
884
|
+
attr_accessor :id
|
885
|
+
attr_accessor :criterion_Type
|
886
|
+
|
887
|
+
def initialize(id = nil, criterion_Type = nil)
|
888
|
+
@id = id
|
889
|
+
@criterion_Type = criterion_Type
|
890
|
+
end
|
891
|
+
end
|
892
|
+
|
893
|
+
# Keyword
|
894
|
+
# - id - SOAP::SOAPLong
|
895
|
+
# - criterion_Type - SOAP::SOAPString
|
896
|
+
# - text - SOAP::SOAPString
|
897
|
+
# - matchType - AdwordsApi::V201003::TargetingIdeaService::KeywordMatchType
|
898
|
+
class Keyword < Criterion
|
899
|
+
attr_accessor :id
|
900
|
+
attr_accessor :criterion_Type
|
901
|
+
attr_accessor :text
|
902
|
+
attr_accessor :matchType
|
903
|
+
|
904
|
+
def initialize(id = nil, criterion_Type = nil, text = nil, matchType = nil)
|
905
|
+
@id = id
|
906
|
+
@criterion_Type = criterion_Type
|
907
|
+
@text = text
|
908
|
+
@matchType = matchType
|
909
|
+
end
|
910
|
+
end
|
911
|
+
|
912
|
+
# Placement
|
913
|
+
# - id - SOAP::SOAPLong
|
914
|
+
# - criterion_Type - SOAP::SOAPString
|
915
|
+
# - url - SOAP::SOAPString
|
916
|
+
class Placement < Criterion
|
917
|
+
attr_accessor :id
|
918
|
+
attr_accessor :criterion_Type
|
919
|
+
attr_accessor :url
|
920
|
+
|
921
|
+
def initialize(id = nil, criterion_Type = nil, url = nil)
|
922
|
+
@id = id
|
923
|
+
@criterion_Type = criterion_Type
|
924
|
+
@url = url
|
925
|
+
end
|
926
|
+
end
|
927
|
+
|
928
|
+
# Vertical
|
929
|
+
# - id - SOAP::SOAPLong
|
930
|
+
# - criterion_Type - SOAP::SOAPString
|
931
|
+
# - path - SOAP::SOAPString
|
932
|
+
class Vertical < Criterion
|
933
|
+
attr_accessor :id
|
934
|
+
attr_accessor :criterion_Type
|
935
|
+
attr_accessor :path
|
936
|
+
|
937
|
+
def initialize(id = nil, criterion_Type = nil, path = [])
|
938
|
+
@id = id
|
939
|
+
@criterion_Type = criterion_Type
|
940
|
+
@path = path
|
941
|
+
end
|
942
|
+
end
|
943
|
+
|
944
|
+
# GeoPoint
|
945
|
+
# - latitudeInMicroDegrees - SOAP::SOAPInt
|
946
|
+
# - longitudeInMicroDegrees - SOAP::SOAPInt
|
947
|
+
class GeoPoint
|
948
|
+
attr_accessor :latitudeInMicroDegrees
|
949
|
+
attr_accessor :longitudeInMicroDegrees
|
950
|
+
|
951
|
+
def initialize(latitudeInMicroDegrees = nil, longitudeInMicroDegrees = nil)
|
952
|
+
@latitudeInMicroDegrees = latitudeInMicroDegrees
|
953
|
+
@longitudeInMicroDegrees = longitudeInMicroDegrees
|
954
|
+
end
|
955
|
+
end
|
956
|
+
|
957
|
+
# Paging
|
958
|
+
# - startIndex - SOAP::SOAPInt
|
959
|
+
# - numberResults - SOAP::SOAPInt
|
960
|
+
class Paging
|
961
|
+
attr_accessor :startIndex
|
962
|
+
attr_accessor :numberResults
|
963
|
+
|
964
|
+
def initialize(startIndex = nil, numberResults = nil)
|
965
|
+
@startIndex = startIndex
|
966
|
+
@numberResults = numberResults
|
967
|
+
end
|
968
|
+
end
|
969
|
+
|
970
|
+
# PolicyViolationError.Part
|
971
|
+
# - index - SOAP::SOAPInt
|
972
|
+
# - length - SOAP::SOAPInt
|
973
|
+
class PolicyViolationErrorPart
|
974
|
+
attr_accessor :index
|
975
|
+
attr_accessor :length
|
976
|
+
|
977
|
+
def initialize(index = nil, length = nil)
|
978
|
+
@index = index
|
979
|
+
@length = length
|
980
|
+
end
|
981
|
+
end
|
982
|
+
|
983
|
+
# PolicyViolationKey
|
984
|
+
# - policyName - SOAP::SOAPString
|
985
|
+
# - violatingText - SOAP::SOAPString
|
986
|
+
class PolicyViolationKey
|
987
|
+
attr_accessor :policyName
|
988
|
+
attr_accessor :violatingText
|
989
|
+
|
990
|
+
def initialize(policyName = nil, violatingText = nil)
|
991
|
+
@policyName = policyName
|
992
|
+
@violatingText = violatingText
|
993
|
+
end
|
994
|
+
end
|
995
|
+
|
996
|
+
# SoapHeader
|
997
|
+
# - authToken - SOAP::SOAPString
|
998
|
+
# - clientCustomerId - SOAP::SOAPString
|
999
|
+
# - clientEmail - SOAP::SOAPString
|
1000
|
+
# - developerToken - SOAP::SOAPString
|
1001
|
+
# - userAgent - SOAP::SOAPString
|
1002
|
+
# - validateOnly - SOAP::SOAPBoolean
|
1003
|
+
class SoapHeader
|
1004
|
+
attr_accessor :authToken
|
1005
|
+
attr_accessor :clientCustomerId
|
1006
|
+
attr_accessor :clientEmail
|
1007
|
+
attr_accessor :developerToken
|
1008
|
+
attr_accessor :userAgent
|
1009
|
+
attr_accessor :validateOnly
|
1010
|
+
|
1011
|
+
def initialize(authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil)
|
1012
|
+
@authToken = authToken
|
1013
|
+
@clientCustomerId = clientCustomerId
|
1014
|
+
@clientEmail = clientEmail
|
1015
|
+
@developerToken = developerToken
|
1016
|
+
@userAgent = userAgent
|
1017
|
+
@validateOnly = validateOnly
|
1018
|
+
end
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
# SoapResponseHeader
|
1022
|
+
# - requestId - SOAP::SOAPString
|
1023
|
+
# - operations - SOAP::SOAPLong
|
1024
|
+
# - responseTime - SOAP::SOAPLong
|
1025
|
+
# - units - SOAP::SOAPLong
|
1026
|
+
class SoapResponseHeader
|
1027
|
+
attr_accessor :requestId
|
1028
|
+
attr_accessor :operations
|
1029
|
+
attr_accessor :responseTime
|
1030
|
+
attr_accessor :units
|
1031
|
+
|
1032
|
+
def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
|
1033
|
+
@requestId = requestId
|
1034
|
+
@operations = operations
|
1035
|
+
@responseTime = responseTime
|
1036
|
+
@units = units
|
1037
|
+
end
|
1038
|
+
end
|
1039
|
+
|
1040
|
+
# Target
|
1041
|
+
# abstract
|
1042
|
+
# - target_Type - SOAP::SOAPString
|
1043
|
+
class Target
|
1044
|
+
attr_accessor :target_Type
|
1045
|
+
|
1046
|
+
def initialize(target_Type = nil)
|
1047
|
+
@target_Type = target_Type
|
1048
|
+
end
|
1049
|
+
end
|
1050
|
+
|
1051
|
+
# AdScheduleTarget
|
1052
|
+
# - target_Type - SOAP::SOAPString
|
1053
|
+
# - dayOfWeek - AdwordsApi::V201003::TargetingIdeaService::DayOfWeek
|
1054
|
+
# - startHour - SOAP::SOAPInt
|
1055
|
+
# - startMinute - AdwordsApi::V201003::TargetingIdeaService::MinuteOfHour
|
1056
|
+
# - endHour - SOAP::SOAPInt
|
1057
|
+
# - endMinute - AdwordsApi::V201003::TargetingIdeaService::MinuteOfHour
|
1058
|
+
# - bidMultiplier - SOAP::SOAPDouble
|
1059
|
+
class AdScheduleTarget < Target
|
1060
|
+
attr_accessor :target_Type
|
1061
|
+
attr_accessor :dayOfWeek
|
1062
|
+
attr_accessor :startHour
|
1063
|
+
attr_accessor :startMinute
|
1064
|
+
attr_accessor :endHour
|
1065
|
+
attr_accessor :endMinute
|
1066
|
+
attr_accessor :bidMultiplier
|
1067
|
+
|
1068
|
+
def initialize(target_Type = nil, dayOfWeek = nil, startHour = nil, startMinute = nil, endHour = nil, endMinute = nil, bidMultiplier = nil)
|
1069
|
+
@target_Type = target_Type
|
1070
|
+
@dayOfWeek = dayOfWeek
|
1071
|
+
@startHour = startHour
|
1072
|
+
@startMinute = startMinute
|
1073
|
+
@endHour = endHour
|
1074
|
+
@endMinute = endMinute
|
1075
|
+
@bidMultiplier = bidMultiplier
|
1076
|
+
end
|
1077
|
+
end
|
1078
|
+
|
1079
|
+
# DemographicTarget
|
1080
|
+
# abstract
|
1081
|
+
# - target_Type - SOAP::SOAPString
|
1082
|
+
# - bidModifier - SOAP::SOAPInt
|
1083
|
+
class DemographicTarget < Target
|
1084
|
+
attr_accessor :target_Type
|
1085
|
+
attr_accessor :bidModifier
|
1086
|
+
|
1087
|
+
def initialize(target_Type = nil, bidModifier = nil)
|
1088
|
+
@target_Type = target_Type
|
1089
|
+
@bidModifier = bidModifier
|
1090
|
+
end
|
1091
|
+
end
|
1092
|
+
|
1093
|
+
# AgeTarget
|
1094
|
+
# - target_Type - SOAP::SOAPString
|
1095
|
+
# - bidModifier - SOAP::SOAPInt
|
1096
|
+
# - age - AdwordsApi::V201003::TargetingIdeaService::AgeTargetAge
|
1097
|
+
class AgeTarget < DemographicTarget
|
1098
|
+
attr_accessor :target_Type
|
1099
|
+
attr_accessor :bidModifier
|
1100
|
+
attr_accessor :age
|
1101
|
+
|
1102
|
+
def initialize(target_Type = nil, bidModifier = nil, age = nil)
|
1103
|
+
@target_Type = target_Type
|
1104
|
+
@bidModifier = bidModifier
|
1105
|
+
@age = age
|
1106
|
+
end
|
1107
|
+
end
|
1108
|
+
|
1109
|
+
# GenderTarget
|
1110
|
+
# - target_Type - SOAP::SOAPString
|
1111
|
+
# - bidModifier - SOAP::SOAPInt
|
1112
|
+
# - gender - AdwordsApi::V201003::TargetingIdeaService::GenderTargetGender
|
1113
|
+
class GenderTarget < DemographicTarget
|
1114
|
+
attr_accessor :target_Type
|
1115
|
+
attr_accessor :bidModifier
|
1116
|
+
attr_accessor :gender
|
1117
|
+
|
1118
|
+
def initialize(target_Type = nil, bidModifier = nil, gender = nil)
|
1119
|
+
@target_Type = target_Type
|
1120
|
+
@bidModifier = bidModifier
|
1121
|
+
@gender = gender
|
1122
|
+
end
|
1123
|
+
end
|
1124
|
+
|
1125
|
+
# GeoTarget
|
1126
|
+
# abstract
|
1127
|
+
# - target_Type - SOAP::SOAPString
|
1128
|
+
# - excluded - SOAP::SOAPBoolean
|
1129
|
+
class GeoTarget < Target
|
1130
|
+
attr_accessor :target_Type
|
1131
|
+
attr_accessor :excluded
|
1132
|
+
|
1133
|
+
def initialize(target_Type = nil, excluded = nil)
|
1134
|
+
@target_Type = target_Type
|
1135
|
+
@excluded = excluded
|
1136
|
+
end
|
1137
|
+
end
|
1138
|
+
|
1139
|
+
# CityTarget
|
1140
|
+
# - target_Type - SOAP::SOAPString
|
1141
|
+
# - excluded - SOAP::SOAPBoolean
|
1142
|
+
# - cityName - SOAP::SOAPString
|
1143
|
+
# - provinceCode - SOAP::SOAPString
|
1144
|
+
# - countryCode - SOAP::SOAPString
|
1145
|
+
class CityTarget < GeoTarget
|
1146
|
+
attr_accessor :target_Type
|
1147
|
+
attr_accessor :excluded
|
1148
|
+
attr_accessor :cityName
|
1149
|
+
attr_accessor :provinceCode
|
1150
|
+
attr_accessor :countryCode
|
1151
|
+
|
1152
|
+
def initialize(target_Type = nil, excluded = nil, cityName = nil, provinceCode = nil, countryCode = nil)
|
1153
|
+
@target_Type = target_Type
|
1154
|
+
@excluded = excluded
|
1155
|
+
@cityName = cityName
|
1156
|
+
@provinceCode = provinceCode
|
1157
|
+
@countryCode = countryCode
|
1158
|
+
end
|
1159
|
+
end
|
1160
|
+
|
1161
|
+
# CountryTarget
|
1162
|
+
# - target_Type - SOAP::SOAPString
|
1163
|
+
# - excluded - SOAP::SOAPBoolean
|
1164
|
+
# - countryCode - SOAP::SOAPString
|
1165
|
+
class CountryTarget < GeoTarget
|
1166
|
+
attr_accessor :target_Type
|
1167
|
+
attr_accessor :excluded
|
1168
|
+
attr_accessor :countryCode
|
1169
|
+
|
1170
|
+
def initialize(target_Type = nil, excluded = nil, countryCode = nil)
|
1171
|
+
@target_Type = target_Type
|
1172
|
+
@excluded = excluded
|
1173
|
+
@countryCode = countryCode
|
1174
|
+
end
|
1175
|
+
end
|
1176
|
+
|
1177
|
+
# MetroTarget
|
1178
|
+
# - target_Type - SOAP::SOAPString
|
1179
|
+
# - excluded - SOAP::SOAPBoolean
|
1180
|
+
# - metroCode - SOAP::SOAPString
|
1181
|
+
class MetroTarget < GeoTarget
|
1182
|
+
attr_accessor :target_Type
|
1183
|
+
attr_accessor :excluded
|
1184
|
+
attr_accessor :metroCode
|
1185
|
+
|
1186
|
+
def initialize(target_Type = nil, excluded = nil, metroCode = nil)
|
1187
|
+
@target_Type = target_Type
|
1188
|
+
@excluded = excluded
|
1189
|
+
@metroCode = metroCode
|
1190
|
+
end
|
1191
|
+
end
|
1192
|
+
|
1193
|
+
# PolygonTarget
|
1194
|
+
# - target_Type - SOAP::SOAPString
|
1195
|
+
# - excluded - SOAP::SOAPBoolean
|
1196
|
+
# - vertices - AdwordsApi::V201003::TargetingIdeaService::GeoPoint
|
1197
|
+
class PolygonTarget < GeoTarget
|
1198
|
+
attr_accessor :target_Type
|
1199
|
+
attr_accessor :excluded
|
1200
|
+
attr_accessor :vertices
|
1201
|
+
|
1202
|
+
def initialize(target_Type = nil, excluded = nil, vertices = [])
|
1203
|
+
@target_Type = target_Type
|
1204
|
+
@excluded = excluded
|
1205
|
+
@vertices = vertices
|
1206
|
+
end
|
1207
|
+
end
|
1208
|
+
|
1209
|
+
# ProvinceTarget
|
1210
|
+
# - target_Type - SOAP::SOAPString
|
1211
|
+
# - excluded - SOAP::SOAPBoolean
|
1212
|
+
# - provinceCode - SOAP::SOAPString
|
1213
|
+
class ProvinceTarget < GeoTarget
|
1214
|
+
attr_accessor :target_Type
|
1215
|
+
attr_accessor :excluded
|
1216
|
+
attr_accessor :provinceCode
|
1217
|
+
|
1218
|
+
def initialize(target_Type = nil, excluded = nil, provinceCode = nil)
|
1219
|
+
@target_Type = target_Type
|
1220
|
+
@excluded = excluded
|
1221
|
+
@provinceCode = provinceCode
|
1222
|
+
end
|
1223
|
+
end
|
1224
|
+
|
1225
|
+
# ProximityTarget
|
1226
|
+
# - target_Type - SOAP::SOAPString
|
1227
|
+
# - excluded - SOAP::SOAPBoolean
|
1228
|
+
# - geoPoint - AdwordsApi::V201003::TargetingIdeaService::GeoPoint
|
1229
|
+
# - radiusDistanceUnits - AdwordsApi::V201003::TargetingIdeaService::ProximityTargetDistanceUnits
|
1230
|
+
# - radiusInUnits - SOAP::SOAPDouble
|
1231
|
+
# - address - AdwordsApi::V201003::TargetingIdeaService::Address
|
1232
|
+
# - allowServiceOfAddress - SOAP::SOAPBoolean
|
1233
|
+
class ProximityTarget < GeoTarget
|
1234
|
+
attr_accessor :target_Type
|
1235
|
+
attr_accessor :excluded
|
1236
|
+
attr_accessor :geoPoint
|
1237
|
+
attr_accessor :radiusDistanceUnits
|
1238
|
+
attr_accessor :radiusInUnits
|
1239
|
+
attr_accessor :address
|
1240
|
+
attr_accessor :allowServiceOfAddress
|
1241
|
+
|
1242
|
+
def initialize(target_Type = nil, excluded = nil, geoPoint = nil, radiusDistanceUnits = nil, radiusInUnits = nil, address = nil, allowServiceOfAddress = nil)
|
1243
|
+
@target_Type = target_Type
|
1244
|
+
@excluded = excluded
|
1245
|
+
@geoPoint = geoPoint
|
1246
|
+
@radiusDistanceUnits = radiusDistanceUnits
|
1247
|
+
@radiusInUnits = radiusInUnits
|
1248
|
+
@address = address
|
1249
|
+
@allowServiceOfAddress = allowServiceOfAddress
|
845
1250
|
end
|
846
1251
|
end
|
847
1252
|
|
848
|
-
#
|
849
|
-
# -
|
850
|
-
# -
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
class QuotaCheckError < ApiError
|
855
|
-
attr_accessor :fieldPath
|
856
|
-
attr_accessor :trigger
|
857
|
-
attr_accessor :errorString
|
858
|
-
attr_accessor :apiError_Type
|
859
|
-
attr_accessor :reason
|
1253
|
+
# LanguageTarget
|
1254
|
+
# - target_Type - SOAP::SOAPString
|
1255
|
+
# - languageCode - SOAP::SOAPString
|
1256
|
+
class LanguageTarget < Target
|
1257
|
+
attr_accessor :target_Type
|
1258
|
+
attr_accessor :languageCode
|
860
1259
|
|
861
|
-
def initialize(
|
862
|
-
@
|
863
|
-
@
|
864
|
-
@errorString = errorString
|
865
|
-
@apiError_Type = apiError_Type
|
866
|
-
@reason = reason
|
1260
|
+
def initialize(target_Type = nil, languageCode = nil)
|
1261
|
+
@target_Type = target_Type
|
1262
|
+
@languageCode = languageCode
|
867
1263
|
end
|
868
1264
|
end
|
869
1265
|
|
870
|
-
#
|
871
|
-
#
|
872
|
-
# -
|
873
|
-
|
874
|
-
|
875
|
-
# - reason - AdwordsApi::V201003::TargetingIdeaService::RangeErrorReason
|
876
|
-
class C_RangeError < ApiError
|
877
|
-
attr_accessor :fieldPath
|
878
|
-
attr_accessor :trigger
|
879
|
-
attr_accessor :errorString
|
880
|
-
attr_accessor :apiError_Type
|
881
|
-
attr_accessor :reason
|
1266
|
+
# MobileTarget
|
1267
|
+
# abstract
|
1268
|
+
# - target_Type - SOAP::SOAPString
|
1269
|
+
class MobileTarget < Target
|
1270
|
+
attr_accessor :target_Type
|
882
1271
|
|
883
|
-
def initialize(
|
884
|
-
@
|
885
|
-
@trigger = trigger
|
886
|
-
@errorString = errorString
|
887
|
-
@apiError_Type = apiError_Type
|
888
|
-
@reason = reason
|
1272
|
+
def initialize(target_Type = nil)
|
1273
|
+
@target_Type = target_Type
|
889
1274
|
end
|
890
1275
|
end
|
891
1276
|
|
892
|
-
#
|
893
|
-
# -
|
894
|
-
# -
|
895
|
-
# -
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
# - retryAfterSeconds - SOAP::SOAPInt
|
901
|
-
class RateExceededError < ApiError
|
902
|
-
attr_accessor :fieldPath
|
903
|
-
attr_accessor :trigger
|
904
|
-
attr_accessor :errorString
|
905
|
-
attr_accessor :apiError_Type
|
906
|
-
attr_accessor :reason
|
907
|
-
attr_accessor :rateName
|
908
|
-
attr_accessor :rateScope
|
909
|
-
attr_accessor :retryAfterSeconds
|
1277
|
+
# MobileCarrierTarget
|
1278
|
+
# - target_Type - SOAP::SOAPString
|
1279
|
+
# - carrierName - SOAP::SOAPString
|
1280
|
+
# - countryCode - SOAP::SOAPString
|
1281
|
+
class MobileCarrierTarget < MobileTarget
|
1282
|
+
attr_accessor :target_Type
|
1283
|
+
attr_accessor :carrierName
|
1284
|
+
attr_accessor :countryCode
|
910
1285
|
|
911
|
-
def initialize(
|
912
|
-
@
|
913
|
-
@
|
914
|
-
@
|
915
|
-
@apiError_Type = apiError_Type
|
916
|
-
@reason = reason
|
917
|
-
@rateName = rateName
|
918
|
-
@rateScope = rateScope
|
919
|
-
@retryAfterSeconds = retryAfterSeconds
|
1286
|
+
def initialize(target_Type = nil, carrierName = nil, countryCode = nil)
|
1287
|
+
@target_Type = target_Type
|
1288
|
+
@carrierName = carrierName
|
1289
|
+
@countryCode = countryCode
|
920
1290
|
end
|
921
1291
|
end
|
922
1292
|
|
923
|
-
#
|
924
|
-
# -
|
925
|
-
# -
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
class ReadOnlyError < ApiError
|
930
|
-
attr_accessor :fieldPath
|
931
|
-
attr_accessor :trigger
|
932
|
-
attr_accessor :errorString
|
933
|
-
attr_accessor :apiError_Type
|
934
|
-
attr_accessor :reason
|
1293
|
+
# MobilePlatformTarget
|
1294
|
+
# - target_Type - SOAP::SOAPString
|
1295
|
+
# - platformName - SOAP::SOAPString
|
1296
|
+
class MobilePlatformTarget < MobileTarget
|
1297
|
+
attr_accessor :target_Type
|
1298
|
+
attr_accessor :platformName
|
935
1299
|
|
936
|
-
def initialize(
|
937
|
-
@
|
938
|
-
@
|
939
|
-
@errorString = errorString
|
940
|
-
@apiError_Type = apiError_Type
|
941
|
-
@reason = reason
|
1300
|
+
def initialize(target_Type = nil, platformName = nil)
|
1301
|
+
@target_Type = target_Type
|
1302
|
+
@platformName = platformName
|
942
1303
|
end
|
943
1304
|
end
|
944
1305
|
|
945
|
-
#
|
946
|
-
# -
|
947
|
-
# -
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
class RegionCodeError < ApiError
|
952
|
-
attr_accessor :fieldPath
|
953
|
-
attr_accessor :trigger
|
954
|
-
attr_accessor :errorString
|
955
|
-
attr_accessor :apiError_Type
|
956
|
-
attr_accessor :reason
|
1306
|
+
# NetworkTarget
|
1307
|
+
# - target_Type - SOAP::SOAPString
|
1308
|
+
# - networkCoverageType - AdwordsApi::V201003::TargetingIdeaService::NetworkCoverageType
|
1309
|
+
class NetworkTarget < Target
|
1310
|
+
attr_accessor :target_Type
|
1311
|
+
attr_accessor :networkCoverageType
|
957
1312
|
|
958
|
-
def initialize(
|
959
|
-
@
|
960
|
-
@
|
961
|
-
@errorString = errorString
|
962
|
-
@apiError_Type = apiError_Type
|
963
|
-
@reason = reason
|
1313
|
+
def initialize(target_Type = nil, networkCoverageType = nil)
|
1314
|
+
@target_Type = target_Type
|
1315
|
+
@networkCoverageType = networkCoverageType
|
964
1316
|
end
|
965
1317
|
end
|
966
1318
|
|
967
|
-
#
|
968
|
-
# -
|
969
|
-
# -
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
class RequestError < ApiError
|
974
|
-
attr_accessor :fieldPath
|
975
|
-
attr_accessor :trigger
|
976
|
-
attr_accessor :errorString
|
977
|
-
attr_accessor :apiError_Type
|
978
|
-
attr_accessor :reason
|
1319
|
+
# PlatformTarget
|
1320
|
+
# - target_Type - SOAP::SOAPString
|
1321
|
+
# - platformType - AdwordsApi::V201003::TargetingIdeaService::PlatformType
|
1322
|
+
class PlatformTarget < Target
|
1323
|
+
attr_accessor :target_Type
|
1324
|
+
attr_accessor :platformType
|
979
1325
|
|
980
|
-
def initialize(
|
981
|
-
@
|
982
|
-
@
|
983
|
-
@errorString = errorString
|
984
|
-
@apiError_Type = apiError_Type
|
985
|
-
@reason = reason
|
1326
|
+
def initialize(target_Type = nil, platformType = nil)
|
1327
|
+
@target_Type = target_Type
|
1328
|
+
@platformType = platformType
|
986
1329
|
end
|
987
1330
|
end
|
988
1331
|
|
989
|
-
#
|
990
|
-
# -
|
991
|
-
|
992
|
-
|
993
|
-
# - apiError_Type - SOAP::SOAPString
|
994
|
-
# - reason - AdwordsApi::V201003::TargetingIdeaService::RequiredErrorReason
|
995
|
-
class RequiredError < ApiError
|
996
|
-
attr_accessor :fieldPath
|
997
|
-
attr_accessor :trigger
|
998
|
-
attr_accessor :errorString
|
999
|
-
attr_accessor :apiError_Type
|
1000
|
-
attr_accessor :reason
|
1332
|
+
# AdFormatSpec
|
1333
|
+
# - format - AdwordsApi::V201003::TargetingIdeaService::SiteConstantsAdFormat
|
1334
|
+
class AdFormatSpec
|
1335
|
+
attr_accessor :format
|
1001
1336
|
|
1002
|
-
def initialize(
|
1003
|
-
@
|
1004
|
-
@trigger = trigger
|
1005
|
-
@errorString = errorString
|
1006
|
-
@apiError_Type = apiError_Type
|
1007
|
-
@reason = reason
|
1337
|
+
def initialize(format = nil)
|
1338
|
+
@format = format
|
1008
1339
|
end
|
1009
1340
|
end
|
1010
1341
|
|
1011
|
-
#
|
1012
|
-
#
|
1013
|
-
# -
|
1014
|
-
|
1015
|
-
|
1016
|
-
# - reason - AdwordsApi::V201003::TargetingIdeaService::SizeLimitErrorReason
|
1017
|
-
class SizeLimitError < ApiError
|
1018
|
-
attr_accessor :fieldPath
|
1019
|
-
attr_accessor :trigger
|
1020
|
-
attr_accessor :errorString
|
1021
|
-
attr_accessor :apiError_Type
|
1022
|
-
attr_accessor :reason
|
1342
|
+
# Attribute
|
1343
|
+
# abstract
|
1344
|
+
# - attribute_Type - SOAP::SOAPString
|
1345
|
+
class Attribute
|
1346
|
+
attr_accessor :attribute_Type
|
1023
1347
|
|
1024
|
-
def initialize(
|
1025
|
-
@
|
1026
|
-
@trigger = trigger
|
1027
|
-
@errorString = errorString
|
1028
|
-
@apiError_Type = apiError_Type
|
1029
|
-
@reason = reason
|
1348
|
+
def initialize(attribute_Type = nil)
|
1349
|
+
@attribute_Type = attribute_Type
|
1030
1350
|
end
|
1031
1351
|
end
|
1032
1352
|
|
1033
|
-
#
|
1034
|
-
# -
|
1035
|
-
# -
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
class StatsQueryError < ApiError
|
1040
|
-
attr_accessor :fieldPath
|
1041
|
-
attr_accessor :trigger
|
1042
|
-
attr_accessor :errorString
|
1043
|
-
attr_accessor :apiError_Type
|
1044
|
-
attr_accessor :reason
|
1353
|
+
# AdFormatSpecListAttribute
|
1354
|
+
# - attribute_Type - SOAP::SOAPString
|
1355
|
+
# - value - AdwordsApi::V201003::TargetingIdeaService::AdFormatSpec
|
1356
|
+
class AdFormatSpecListAttribute < Attribute
|
1357
|
+
attr_accessor :attribute_Type
|
1358
|
+
attr_accessor :value
|
1045
1359
|
|
1046
|
-
def initialize(
|
1047
|
-
@
|
1048
|
-
@
|
1049
|
-
@errorString = errorString
|
1050
|
-
@apiError_Type = apiError_Type
|
1051
|
-
@reason = reason
|
1360
|
+
def initialize(attribute_Type = nil, value = [])
|
1361
|
+
@attribute_Type = attribute_Type
|
1362
|
+
@value = value
|
1052
1363
|
end
|
1053
1364
|
end
|
1054
1365
|
|
1055
|
-
#
|
1056
|
-
# -
|
1057
|
-
# -
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
class StringLengthError < ApiError
|
1062
|
-
attr_accessor :fieldPath
|
1063
|
-
attr_accessor :trigger
|
1064
|
-
attr_accessor :errorString
|
1065
|
-
attr_accessor :apiError_Type
|
1066
|
-
attr_accessor :reason
|
1366
|
+
# BooleanAttribute
|
1367
|
+
# - attribute_Type - SOAP::SOAPString
|
1368
|
+
# - value - SOAP::SOAPBoolean
|
1369
|
+
class BooleanAttribute < Attribute
|
1370
|
+
attr_accessor :attribute_Type
|
1371
|
+
attr_accessor :value
|
1067
1372
|
|
1068
|
-
def initialize(
|
1069
|
-
@
|
1070
|
-
@
|
1071
|
-
@errorString = errorString
|
1072
|
-
@apiError_Type = apiError_Type
|
1073
|
-
@reason = reason
|
1373
|
+
def initialize(attribute_Type = nil, value = nil)
|
1374
|
+
@attribute_Type = attribute_Type
|
1375
|
+
@value = value
|
1074
1376
|
end
|
1075
1377
|
end
|
1076
1378
|
|
1077
|
-
#
|
1078
|
-
# -
|
1079
|
-
# -
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
class TargetError < ApiError
|
1084
|
-
attr_accessor :fieldPath
|
1085
|
-
attr_accessor :trigger
|
1086
|
-
attr_accessor :errorString
|
1087
|
-
attr_accessor :apiError_Type
|
1088
|
-
attr_accessor :reason
|
1379
|
+
# DoubleAttribute
|
1380
|
+
# - attribute_Type - SOAP::SOAPString
|
1381
|
+
# - value - SOAP::SOAPDouble
|
1382
|
+
class DoubleAttribute < Attribute
|
1383
|
+
attr_accessor :attribute_Type
|
1384
|
+
attr_accessor :value
|
1089
1385
|
|
1090
|
-
def initialize(
|
1091
|
-
@
|
1092
|
-
@
|
1093
|
-
@errorString = errorString
|
1094
|
-
@apiError_Type = apiError_Type
|
1095
|
-
@reason = reason
|
1386
|
+
def initialize(attribute_Type = nil, value = nil)
|
1387
|
+
@attribute_Type = attribute_Type
|
1388
|
+
@value = value
|
1096
1389
|
end
|
1097
1390
|
end
|
1098
1391
|
|
1099
|
-
#
|
1100
|
-
# -
|
1101
|
-
# -
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1105
|
-
class DatabaseError < ApiError
|
1106
|
-
attr_accessor :fieldPath
|
1107
|
-
attr_accessor :trigger
|
1108
|
-
attr_accessor :errorString
|
1109
|
-
attr_accessor :apiError_Type
|
1110
|
-
attr_accessor :reason
|
1392
|
+
# IdeaTypeAttribute
|
1393
|
+
# - attribute_Type - SOAP::SOAPString
|
1394
|
+
# - value - AdwordsApi::V201003::TargetingIdeaService::IdeaType
|
1395
|
+
class IdeaTypeAttribute < Attribute
|
1396
|
+
attr_accessor :attribute_Type
|
1397
|
+
attr_accessor :value
|
1111
1398
|
|
1112
|
-
def initialize(
|
1113
|
-
@
|
1114
|
-
@
|
1115
|
-
@errorString = errorString
|
1116
|
-
@apiError_Type = apiError_Type
|
1117
|
-
@reason = reason
|
1399
|
+
def initialize(attribute_Type = nil, value = nil)
|
1400
|
+
@attribute_Type = attribute_Type
|
1401
|
+
@value = value
|
1118
1402
|
end
|
1119
1403
|
end
|
1120
1404
|
|
1121
|
-
#
|
1122
|
-
# -
|
1123
|
-
# -
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
# - externalPolicyName - SOAP::SOAPString
|
1128
|
-
# - externalPolicyUrl - SOAP::SOAPString
|
1129
|
-
# - externalPolicyDescription - SOAP::SOAPString
|
1130
|
-
# - isExemptable - SOAP::SOAPBoolean
|
1131
|
-
# - violatingParts - AdwordsApi::V201003::TargetingIdeaService::PolicyViolationErrorPart
|
1132
|
-
class PolicyViolationError < ApiError
|
1133
|
-
attr_accessor :fieldPath
|
1134
|
-
attr_accessor :trigger
|
1135
|
-
attr_accessor :errorString
|
1136
|
-
attr_accessor :apiError_Type
|
1137
|
-
attr_accessor :key
|
1138
|
-
attr_accessor :externalPolicyName
|
1139
|
-
attr_accessor :externalPolicyUrl
|
1140
|
-
attr_accessor :externalPolicyDescription
|
1141
|
-
attr_accessor :isExemptable
|
1142
|
-
attr_accessor :violatingParts
|
1405
|
+
# InStreamAdInfoAttribute
|
1406
|
+
# - attribute_Type - SOAP::SOAPString
|
1407
|
+
# - value - AdwordsApi::V201003::TargetingIdeaService::InStreamAdInfo
|
1408
|
+
class InStreamAdInfoAttribute < Attribute
|
1409
|
+
attr_accessor :attribute_Type
|
1410
|
+
attr_accessor :value
|
1143
1411
|
|
1144
|
-
def initialize(
|
1145
|
-
@
|
1146
|
-
@
|
1147
|
-
@errorString = errorString
|
1148
|
-
@apiError_Type = apiError_Type
|
1149
|
-
@key = key
|
1150
|
-
@externalPolicyName = externalPolicyName
|
1151
|
-
@externalPolicyUrl = externalPolicyUrl
|
1152
|
-
@externalPolicyDescription = externalPolicyDescription
|
1153
|
-
@isExemptable = isExemptable
|
1154
|
-
@violatingParts = violatingParts
|
1412
|
+
def initialize(attribute_Type = nil, value = nil)
|
1413
|
+
@attribute_Type = attribute_Type
|
1414
|
+
@value = value
|
1155
1415
|
end
|
1156
1416
|
end
|
1157
1417
|
|
1158
|
-
#
|
1159
|
-
# -
|
1160
|
-
# -
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
# - externalPolicyName - SOAP::SOAPString
|
1165
|
-
# - externalPolicyUrl - SOAP::SOAPString
|
1166
|
-
# - externalPolicyDescription - SOAP::SOAPString
|
1167
|
-
# - isExemptable - SOAP::SOAPBoolean
|
1168
|
-
# - violatingParts - AdwordsApi::V201003::TargetingIdeaService::PolicyViolationErrorPart
|
1169
|
-
class CriterionPolicyError < PolicyViolationError
|
1170
|
-
attr_accessor :fieldPath
|
1171
|
-
attr_accessor :trigger
|
1172
|
-
attr_accessor :errorString
|
1173
|
-
attr_accessor :apiError_Type
|
1174
|
-
attr_accessor :key
|
1175
|
-
attr_accessor :externalPolicyName
|
1176
|
-
attr_accessor :externalPolicyUrl
|
1177
|
-
attr_accessor :externalPolicyDescription
|
1178
|
-
attr_accessor :isExemptable
|
1179
|
-
attr_accessor :violatingParts
|
1418
|
+
# IntegerAttribute
|
1419
|
+
# - attribute_Type - SOAP::SOAPString
|
1420
|
+
# - value - SOAP::SOAPInt
|
1421
|
+
class IntegerAttribute < Attribute
|
1422
|
+
attr_accessor :attribute_Type
|
1423
|
+
attr_accessor :value
|
1180
1424
|
|
1181
|
-
def initialize(
|
1182
|
-
@
|
1183
|
-
@
|
1184
|
-
@errorString = errorString
|
1185
|
-
@apiError_Type = apiError_Type
|
1186
|
-
@key = key
|
1187
|
-
@externalPolicyName = externalPolicyName
|
1188
|
-
@externalPolicyUrl = externalPolicyUrl
|
1189
|
-
@externalPolicyDescription = externalPolicyDescription
|
1190
|
-
@isExemptable = isExemptable
|
1191
|
-
@violatingParts = violatingParts
|
1425
|
+
def initialize(attribute_Type = nil, value = nil)
|
1426
|
+
@attribute_Type = attribute_Type
|
1427
|
+
@value = value
|
1192
1428
|
end
|
1193
1429
|
end
|
1194
1430
|
|
1195
|
-
#
|
1196
|
-
# -
|
1197
|
-
# -
|
1198
|
-
|
1199
|
-
|
1200
|
-
|
1201
|
-
class CollectionSizeError < ApiError
|
1202
|
-
attr_accessor :fieldPath
|
1203
|
-
attr_accessor :trigger
|
1204
|
-
attr_accessor :errorString
|
1205
|
-
attr_accessor :apiError_Type
|
1206
|
-
attr_accessor :reason
|
1431
|
+
# IntegerSetAttribute
|
1432
|
+
# - attribute_Type - SOAP::SOAPString
|
1433
|
+
# - value - SOAP::SOAPInt
|
1434
|
+
class IntegerSetAttribute < Attribute
|
1435
|
+
attr_accessor :attribute_Type
|
1436
|
+
attr_accessor :value
|
1207
1437
|
|
1208
|
-
def initialize(
|
1209
|
-
@
|
1210
|
-
@
|
1211
|
-
@errorString = errorString
|
1212
|
-
@apiError_Type = apiError_Type
|
1213
|
-
@reason = reason
|
1438
|
+
def initialize(attribute_Type = nil, value = [])
|
1439
|
+
@attribute_Type = attribute_Type
|
1440
|
+
@value = value
|
1214
1441
|
end
|
1215
1442
|
end
|
1216
1443
|
|
1217
|
-
#
|
1218
|
-
# -
|
1219
|
-
# -
|
1220
|
-
|
1221
|
-
|
1222
|
-
|
1223
|
-
class TargetingIdeaError < ApiError
|
1224
|
-
attr_accessor :fieldPath
|
1225
|
-
attr_accessor :trigger
|
1226
|
-
attr_accessor :errorString
|
1227
|
-
attr_accessor :apiError_Type
|
1228
|
-
attr_accessor :reason
|
1444
|
+
# KeywordAttribute
|
1445
|
+
# - attribute_Type - SOAP::SOAPString
|
1446
|
+
# - value - AdwordsApi::V201003::TargetingIdeaService::Keyword
|
1447
|
+
class KeywordAttribute < Attribute
|
1448
|
+
attr_accessor :attribute_Type
|
1449
|
+
attr_accessor :value
|
1229
1450
|
|
1230
|
-
def initialize(
|
1231
|
-
@
|
1232
|
-
@
|
1233
|
-
@errorString = errorString
|
1234
|
-
@apiError_Type = apiError_Type
|
1235
|
-
@reason = reason
|
1451
|
+
def initialize(attribute_Type = nil, value = nil)
|
1452
|
+
@attribute_Type = attribute_Type
|
1453
|
+
@value = value
|
1236
1454
|
end
|
1237
1455
|
end
|
1238
1456
|
|
1239
|
-
#
|
1240
|
-
# -
|
1241
|
-
# -
|
1242
|
-
class
|
1243
|
-
attr_accessor :
|
1244
|
-
attr_accessor :
|
1457
|
+
# LongAttribute
|
1458
|
+
# - attribute_Type - SOAP::SOAPString
|
1459
|
+
# - value - SOAP::SOAPLong
|
1460
|
+
class LongAttribute < Attribute
|
1461
|
+
attr_accessor :attribute_Type
|
1462
|
+
attr_accessor :value
|
1245
1463
|
|
1246
|
-
def initialize(
|
1247
|
-
@
|
1248
|
-
@
|
1464
|
+
def initialize(attribute_Type = nil, value = nil)
|
1465
|
+
@attribute_Type = attribute_Type
|
1466
|
+
@value = value
|
1249
1467
|
end
|
1250
1468
|
end
|
1251
1469
|
|
1252
|
-
#
|
1253
|
-
# -
|
1254
|
-
# -
|
1255
|
-
|
1256
|
-
|
1257
|
-
attr_accessor :
|
1258
|
-
|
1259
|
-
|
1470
|
+
# LongRangeAttribute
|
1471
|
+
# - attribute_Type - SOAP::SOAPString
|
1472
|
+
# - value - AdwordsApi::V201003::TargetingIdeaService::C_Range
|
1473
|
+
class LongRangeAttribute < Attribute
|
1474
|
+
attr_accessor :attribute_Type
|
1475
|
+
attr_accessor :value
|
1476
|
+
|
1477
|
+
def initialize(attribute_Type = nil, value = nil)
|
1478
|
+
@attribute_Type = attribute_Type
|
1479
|
+
@value = value
|
1480
|
+
end
|
1481
|
+
end
|
1260
1482
|
|
1261
|
-
|
1262
|
-
|
1263
|
-
|
1264
|
-
|
1483
|
+
# MoneyAttribute
|
1484
|
+
# - attribute_Type - SOAP::SOAPString
|
1485
|
+
# - value - AdwordsApi::V201003::TargetingIdeaService::Money
|
1486
|
+
class MoneyAttribute < Attribute
|
1487
|
+
attr_accessor :attribute_Type
|
1488
|
+
attr_accessor :value
|
1489
|
+
|
1490
|
+
def initialize(attribute_Type = nil, value = nil)
|
1491
|
+
@attribute_Type = attribute_Type
|
1492
|
+
@value = value
|
1265
1493
|
end
|
1266
1494
|
end
|
1267
1495
|
|
1268
|
-
#
|
1269
|
-
# -
|
1270
|
-
# -
|
1271
|
-
class
|
1272
|
-
attr_accessor :
|
1273
|
-
attr_accessor :
|
1496
|
+
# MonthlySearchVolumeAttribute
|
1497
|
+
# - attribute_Type - SOAP::SOAPString
|
1498
|
+
# - value - AdwordsApi::V201003::TargetingIdeaService::MonthlySearchVolume
|
1499
|
+
class MonthlySearchVolumeAttribute < Attribute
|
1500
|
+
attr_accessor :attribute_Type
|
1501
|
+
attr_accessor :value
|
1274
1502
|
|
1275
|
-
def initialize(
|
1276
|
-
@
|
1277
|
-
@
|
1503
|
+
def initialize(attribute_Type = nil, value = [])
|
1504
|
+
@attribute_Type = attribute_Type
|
1505
|
+
@value = value
|
1278
1506
|
end
|
1279
1507
|
end
|
1280
1508
|
|
1281
|
-
#
|
1282
|
-
# -
|
1283
|
-
# -
|
1284
|
-
|
1285
|
-
|
1286
|
-
|
1287
|
-
attr_accessor :id
|
1288
|
-
attr_accessor :criterion_Type
|
1289
|
-
attr_accessor :text
|
1290
|
-
attr_accessor :matchType
|
1509
|
+
# PlacementAttribute
|
1510
|
+
# - attribute_Type - SOAP::SOAPString
|
1511
|
+
# - value - AdwordsApi::V201003::TargetingIdeaService::Placement
|
1512
|
+
class PlacementAttribute < Attribute
|
1513
|
+
attr_accessor :attribute_Type
|
1514
|
+
attr_accessor :value
|
1291
1515
|
|
1292
|
-
def initialize(
|
1293
|
-
@
|
1294
|
-
@
|
1295
|
-
@text = text
|
1296
|
-
@matchType = matchType
|
1516
|
+
def initialize(attribute_Type = nil, value = nil)
|
1517
|
+
@attribute_Type = attribute_Type
|
1518
|
+
@value = value
|
1297
1519
|
end
|
1298
1520
|
end
|
1299
1521
|
|
1300
|
-
#
|
1301
|
-
# -
|
1302
|
-
# -
|
1303
|
-
|
1304
|
-
|
1305
|
-
attr_accessor :
|
1306
|
-
attr_accessor :criterion_Type
|
1307
|
-
attr_accessor :url
|
1522
|
+
# PlacementTypeAttribute
|
1523
|
+
# - attribute_Type - SOAP::SOAPString
|
1524
|
+
# - value - AdwordsApi::V201003::TargetingIdeaService::SiteConstantsPlacementType
|
1525
|
+
class PlacementTypeAttribute < Attribute
|
1526
|
+
attr_accessor :attribute_Type
|
1527
|
+
attr_accessor :value
|
1308
1528
|
|
1309
|
-
def initialize(
|
1310
|
-
@
|
1311
|
-
@
|
1312
|
-
@url = url
|
1529
|
+
def initialize(attribute_Type = nil, value = nil)
|
1530
|
+
@attribute_Type = attribute_Type
|
1531
|
+
@value = value
|
1313
1532
|
end
|
1314
1533
|
end
|
1315
1534
|
|
1316
|
-
#
|
1317
|
-
# -
|
1318
|
-
# -
|
1319
|
-
|
1320
|
-
|
1321
|
-
attr_accessor :
|
1322
|
-
attr_accessor :criterion_Type
|
1323
|
-
attr_accessor :path
|
1535
|
+
# StringAttribute
|
1536
|
+
# - attribute_Type - SOAP::SOAPString
|
1537
|
+
# - value - SOAP::SOAPString
|
1538
|
+
class StringAttribute < Attribute
|
1539
|
+
attr_accessor :attribute_Type
|
1540
|
+
attr_accessor :value
|
1324
1541
|
|
1325
|
-
def initialize(
|
1326
|
-
@
|
1327
|
-
@
|
1328
|
-
@path = path
|
1542
|
+
def initialize(attribute_Type = nil, value = nil)
|
1543
|
+
@attribute_Type = attribute_Type
|
1544
|
+
@value = value
|
1329
1545
|
end
|
1330
1546
|
end
|
1331
1547
|
|
1332
|
-
#
|
1333
|
-
# -
|
1334
|
-
|
1335
|
-
|
1548
|
+
# WebpageDescriptorAttribute
|
1549
|
+
# - attribute_Type - SOAP::SOAPString
|
1550
|
+
# - value - AdwordsApi::V201003::TargetingIdeaService::WebpageDescriptor
|
1551
|
+
class WebpageDescriptorAttribute < Attribute
|
1552
|
+
attr_accessor :attribute_Type
|
1553
|
+
attr_accessor :value
|
1336
1554
|
|
1337
|
-
def initialize(
|
1338
|
-
@
|
1555
|
+
def initialize(attribute_Type = nil, value = nil)
|
1556
|
+
@attribute_Type = attribute_Type
|
1557
|
+
@value = value
|
1339
1558
|
end
|
1340
1559
|
end
|
1341
1560
|
|
@@ -1373,206 +1592,73 @@ class InStreamAdInfo
|
|
1373
1592
|
def initialize(maxAdDuration = nil, minAdDuration = nil, medianAdDuration = nil, preRollPercent = nil, midRollPercent = nil, postRollPercent = nil)
|
1374
1593
|
@maxAdDuration = maxAdDuration
|
1375
1594
|
@minAdDuration = minAdDuration
|
1376
|
-
@medianAdDuration = medianAdDuration
|
1377
|
-
@preRollPercent = preRollPercent
|
1378
|
-
@midRollPercent = midRollPercent
|
1379
|
-
@postRollPercent = postRollPercent
|
1380
|
-
end
|
1381
|
-
end
|
1382
|
-
|
1383
|
-
# LongComparisonOperation
|
1384
|
-
# - minimum - SOAP::SOAPLong
|
1385
|
-
# - maximum - SOAP::SOAPLong
|
1386
|
-
# - excludes - SOAP::SOAPLong
|
1387
|
-
class LongComparisonOperation
|
1388
|
-
attr_accessor :minimum
|
1389
|
-
attr_accessor :maximum
|
1390
|
-
attr_accessor :excludes
|
1391
|
-
|
1392
|
-
def initialize(minimum = nil, maximum = nil, excludes = [])
|
1393
|
-
@minimum = minimum
|
1394
|
-
@maximum = maximum
|
1395
|
-
@excludes = excludes
|
1396
|
-
end
|
1397
|
-
end
|
1398
|
-
|
1399
|
-
# MonthlySearchVolume
|
1400
|
-
# - year - SOAP::SOAPInt
|
1401
|
-
# - month - SOAP::SOAPInt
|
1402
|
-
# - count - SOAP::SOAPLong
|
1403
|
-
class MonthlySearchVolume
|
1404
|
-
attr_accessor :year
|
1405
|
-
attr_accessor :month
|
1406
|
-
attr_accessor :count
|
1407
|
-
|
1408
|
-
def initialize(year = nil, month = nil, count = nil)
|
1409
|
-
@year = year
|
1410
|
-
@month = month
|
1411
|
-
@count = count
|
1412
|
-
end
|
1413
|
-
end
|
1414
|
-
|
1415
|
-
# WebpageDescriptor
|
1416
|
-
# - url - SOAP::SOAPString
|
1417
|
-
# - title - SOAP::SOAPString
|
1418
|
-
class WebpageDescriptor
|
1419
|
-
attr_accessor :url
|
1420
|
-
attr_accessor :title
|
1421
|
-
|
1422
|
-
def initialize(url = nil, title = nil)
|
1423
|
-
@url = url
|
1424
|
-
@title = title
|
1425
|
-
end
|
1426
|
-
end
|
1427
|
-
|
1428
|
-
# Range
|
1429
|
-
# - min - AdwordsApi::V201003::TargetingIdeaService::ComparableValue
|
1430
|
-
# - max - AdwordsApi::V201003::TargetingIdeaService::ComparableValue
|
1431
|
-
class C_Range
|
1432
|
-
attr_accessor :min
|
1433
|
-
attr_accessor :max
|
1434
|
-
|
1435
|
-
def initialize(min = nil, max = nil)
|
1436
|
-
@min = min
|
1437
|
-
@max = max
|
1438
|
-
end
|
1439
|
-
end
|
1440
|
-
|
1441
|
-
# SearchParameter
|
1442
|
-
# abstract
|
1443
|
-
# - searchParameter_Type - SOAP::SOAPString
|
1444
|
-
class SearchParameter
|
1445
|
-
attr_accessor :searchParameter_Type
|
1446
|
-
|
1447
|
-
def initialize(searchParameter_Type = nil)
|
1448
|
-
@searchParameter_Type = searchParameter_Type
|
1449
|
-
end
|
1450
|
-
end
|
1451
|
-
|
1452
|
-
# AdTypeSearchParameter
|
1453
|
-
# - searchParameter_Type - SOAP::SOAPString
|
1454
|
-
# - adTypes - AdwordsApi::V201003::TargetingIdeaService::SiteConstantsAdType
|
1455
|
-
class AdTypeSearchParameter < SearchParameter
|
1456
|
-
attr_accessor :searchParameter_Type
|
1457
|
-
attr_accessor :adTypes
|
1458
|
-
|
1459
|
-
def initialize(searchParameter_Type = nil, adTypes = [])
|
1460
|
-
@searchParameter_Type = searchParameter_Type
|
1461
|
-
@adTypes = adTypes
|
1462
|
-
end
|
1463
|
-
end
|
1464
|
-
|
1465
|
-
# CompetitionSearchParameter
|
1466
|
-
# - searchParameter_Type - SOAP::SOAPString
|
1467
|
-
# - levels - AdwordsApi::V201003::TargetingIdeaService::CompetitionSearchParameterLevel
|
1468
|
-
class CompetitionSearchParameter < SearchParameter
|
1469
|
-
attr_accessor :searchParameter_Type
|
1470
|
-
attr_accessor :levels
|
1471
|
-
|
1472
|
-
def initialize(searchParameter_Type = nil, levels = [])
|
1473
|
-
@searchParameter_Type = searchParameter_Type
|
1474
|
-
@levels = levels
|
1475
|
-
end
|
1476
|
-
end
|
1477
|
-
|
1478
|
-
# IdeaTextMatchesSearchParameter
|
1479
|
-
# - searchParameter_Type - SOAP::SOAPString
|
1480
|
-
# - included - SOAP::SOAPString
|
1481
|
-
# - excluded - SOAP::SOAPString
|
1482
|
-
# - priorityAction - AdwordsApi::V201003::TargetingIdeaService::MatchAction
|
1483
|
-
class IdeaTextMatchesSearchParameter < SearchParameter
|
1484
|
-
attr_accessor :searchParameter_Type
|
1485
|
-
attr_accessor :included
|
1486
|
-
attr_accessor :excluded
|
1487
|
-
attr_accessor :priorityAction
|
1488
|
-
|
1489
|
-
def initialize(searchParameter_Type = nil, included = [], excluded = [], priorityAction = nil)
|
1490
|
-
@searchParameter_Type = searchParameter_Type
|
1491
|
-
@included = included
|
1492
|
-
@excluded = excluded
|
1493
|
-
@priorityAction = priorityAction
|
1494
|
-
end
|
1495
|
-
end
|
1496
|
-
|
1497
|
-
# IncludeAdultContentSearchParameter
|
1498
|
-
# - searchParameter_Type - SOAP::SOAPString
|
1499
|
-
class IncludeAdultContentSearchParameter < SearchParameter
|
1500
|
-
attr_accessor :searchParameter_Type
|
1501
|
-
|
1502
|
-
def initialize(searchParameter_Type = nil)
|
1503
|
-
@searchParameter_Type = searchParameter_Type
|
1504
|
-
end
|
1505
|
-
end
|
1506
|
-
|
1507
|
-
# KeywordCategoryIdSearchParameter
|
1508
|
-
# - searchParameter_Type - SOAP::SOAPString
|
1509
|
-
# - categoryId - SOAP::SOAPInt
|
1510
|
-
class KeywordCategoryIdSearchParameter < SearchParameter
|
1511
|
-
attr_accessor :searchParameter_Type
|
1512
|
-
attr_accessor :categoryId
|
1513
|
-
|
1514
|
-
def initialize(searchParameter_Type = nil, categoryId = nil)
|
1515
|
-
@searchParameter_Type = searchParameter_Type
|
1516
|
-
@categoryId = categoryId
|
1595
|
+
@medianAdDuration = medianAdDuration
|
1596
|
+
@preRollPercent = preRollPercent
|
1597
|
+
@midRollPercent = midRollPercent
|
1598
|
+
@postRollPercent = postRollPercent
|
1517
1599
|
end
|
1518
1600
|
end
|
1519
1601
|
|
1520
|
-
#
|
1521
|
-
# -
|
1522
|
-
# -
|
1523
|
-
|
1524
|
-
|
1525
|
-
attr_accessor :
|
1602
|
+
# LongComparisonOperation
|
1603
|
+
# - minimum - SOAP::SOAPLong
|
1604
|
+
# - maximum - SOAP::SOAPLong
|
1605
|
+
# - excludes - SOAP::SOAPLong
|
1606
|
+
class LongComparisonOperation
|
1607
|
+
attr_accessor :minimum
|
1608
|
+
attr_accessor :maximum
|
1609
|
+
attr_accessor :excludes
|
1526
1610
|
|
1527
|
-
def initialize(
|
1528
|
-
@
|
1529
|
-
@
|
1611
|
+
def initialize(minimum = nil, maximum = nil, excludes = [])
|
1612
|
+
@minimum = minimum
|
1613
|
+
@maximum = maximum
|
1614
|
+
@excludes = excludes
|
1530
1615
|
end
|
1531
1616
|
end
|
1532
1617
|
|
1533
|
-
#
|
1534
|
-
# -
|
1535
|
-
|
1536
|
-
|
1618
|
+
# MonthlySearchVolume
|
1619
|
+
# - year - SOAP::SOAPInt
|
1620
|
+
# - month - SOAP::SOAPInt
|
1621
|
+
# - count - SOAP::SOAPLong
|
1622
|
+
class MonthlySearchVolume
|
1623
|
+
attr_accessor :year
|
1624
|
+
attr_accessor :month
|
1625
|
+
attr_accessor :count
|
1537
1626
|
|
1538
|
-
def initialize(
|
1539
|
-
@
|
1627
|
+
def initialize(year = nil, month = nil, count = nil)
|
1628
|
+
@year = year
|
1629
|
+
@month = month
|
1630
|
+
@count = count
|
1540
1631
|
end
|
1541
1632
|
end
|
1542
1633
|
|
1543
|
-
#
|
1544
|
-
# -
|
1545
|
-
# -
|
1546
|
-
class
|
1547
|
-
attr_accessor :
|
1548
|
-
attr_accessor :
|
1634
|
+
# Range
|
1635
|
+
# - min - AdwordsApi::V201003::TargetingIdeaService::ComparableValue
|
1636
|
+
# - max - AdwordsApi::V201003::TargetingIdeaService::ComparableValue
|
1637
|
+
class C_Range
|
1638
|
+
attr_accessor :min
|
1639
|
+
attr_accessor :max
|
1549
1640
|
|
1550
|
-
def initialize(
|
1551
|
-
@
|
1552
|
-
@
|
1641
|
+
def initialize(min = nil, max = nil)
|
1642
|
+
@min = min
|
1643
|
+
@max = max
|
1553
1644
|
end
|
1554
1645
|
end
|
1555
1646
|
|
1556
|
-
#
|
1647
|
+
# SearchParameter
|
1648
|
+
# abstract
|
1557
1649
|
# - searchParameter_Type - SOAP::SOAPString
|
1558
|
-
|
1559
|
-
# - includeSubUrls - SOAP::SOAPBoolean
|
1560
|
-
class RelatedToUrlSearchParameter < SearchParameter
|
1650
|
+
class SearchParameter
|
1561
1651
|
attr_accessor :searchParameter_Type
|
1562
|
-
attr_accessor :urls
|
1563
|
-
attr_accessor :includeSubUrls
|
1564
1652
|
|
1565
|
-
def initialize(searchParameter_Type = nil
|
1653
|
+
def initialize(searchParameter_Type = nil)
|
1566
1654
|
@searchParameter_Type = searchParameter_Type
|
1567
|
-
@urls = urls
|
1568
|
-
@includeSubUrls = includeSubUrls
|
1569
1655
|
end
|
1570
1656
|
end
|
1571
1657
|
|
1572
|
-
#
|
1658
|
+
# AdShareSearchParameter
|
1573
1659
|
# - searchParameter_Type - SOAP::SOAPString
|
1574
1660
|
# - operation - AdwordsApi::V201003::TargetingIdeaService::DoubleComparisonOperation
|
1575
|
-
class
|
1661
|
+
class AdShareSearchParameter < SearchParameter
|
1576
1662
|
attr_accessor :searchParameter_Type
|
1577
1663
|
attr_accessor :operation
|
1578
1664
|
|
@@ -1582,29 +1668,16 @@ class SearchShareSearchParameter < SearchParameter
|
|
1582
1668
|
end
|
1583
1669
|
end
|
1584
1670
|
|
1585
|
-
#
|
1586
|
-
# - searchParameter_Type - SOAP::SOAPString
|
1587
|
-
# - adGroupId - SOAP::SOAPLong
|
1588
|
-
class SeedAdGroupIdSearchParameter < SearchParameter
|
1589
|
-
attr_accessor :searchParameter_Type
|
1590
|
-
attr_accessor :adGroupId
|
1591
|
-
|
1592
|
-
def initialize(searchParameter_Type = nil, adGroupId = nil)
|
1593
|
-
@searchParameter_Type = searchParameter_Type
|
1594
|
-
@adGroupId = adGroupId
|
1595
|
-
end
|
1596
|
-
end
|
1597
|
-
|
1598
|
-
# AdShareSearchParameter
|
1671
|
+
# AdTypeSearchParameter
|
1599
1672
|
# - searchParameter_Type - SOAP::SOAPString
|
1600
|
-
# -
|
1601
|
-
class
|
1673
|
+
# - adTypes - AdwordsApi::V201003::TargetingIdeaService::SiteConstantsAdType
|
1674
|
+
class AdTypeSearchParameter < SearchParameter
|
1602
1675
|
attr_accessor :searchParameter_Type
|
1603
|
-
attr_accessor :
|
1676
|
+
attr_accessor :adTypes
|
1604
1677
|
|
1605
|
-
def initialize(searchParameter_Type = nil,
|
1678
|
+
def initialize(searchParameter_Type = nil, adTypes = [])
|
1606
1679
|
@searchParameter_Type = searchParameter_Type
|
1607
|
-
@
|
1680
|
+
@adTypes = adTypes
|
1608
1681
|
end
|
1609
1682
|
end
|
1610
1683
|
|
@@ -1621,16 +1694,16 @@ class AverageTargetedMonthlySearchesSearchParameter < SearchParameter
|
|
1621
1694
|
end
|
1622
1695
|
end
|
1623
1696
|
|
1624
|
-
#
|
1697
|
+
# CompetitionSearchParameter
|
1625
1698
|
# - searchParameter_Type - SOAP::SOAPString
|
1626
|
-
# -
|
1627
|
-
class
|
1699
|
+
# - levels - AdwordsApi::V201003::TargetingIdeaService::CompetitionSearchParameterLevel
|
1700
|
+
class CompetitionSearchParameter < SearchParameter
|
1628
1701
|
attr_accessor :searchParameter_Type
|
1629
|
-
attr_accessor :
|
1702
|
+
attr_accessor :levels
|
1630
1703
|
|
1631
|
-
def initialize(searchParameter_Type = nil,
|
1704
|
+
def initialize(searchParameter_Type = nil, levels = [])
|
1632
1705
|
@searchParameter_Type = searchParameter_Type
|
1633
|
-
@
|
1706
|
+
@levels = levels
|
1634
1707
|
end
|
1635
1708
|
end
|
1636
1709
|
|
@@ -1647,19 +1720,6 @@ class CountryTargetSearchParameter < SearchParameter
|
|
1647
1720
|
end
|
1648
1721
|
end
|
1649
1722
|
|
1650
|
-
# LanguageTargetSearchParameter
|
1651
|
-
# - searchParameter_Type - SOAP::SOAPString
|
1652
|
-
# - languageTargets - AdwordsApi::V201003::TargetingIdeaService::LanguageTarget
|
1653
|
-
class LanguageTargetSearchParameter < SearchParameter
|
1654
|
-
attr_accessor :searchParameter_Type
|
1655
|
-
attr_accessor :languageTargets
|
1656
|
-
|
1657
|
-
def initialize(searchParameter_Type = nil, languageTargets = [])
|
1658
|
-
@searchParameter_Type = searchParameter_Type
|
1659
|
-
@languageTargets = languageTargets
|
1660
|
-
end
|
1661
|
-
end
|
1662
|
-
|
1663
1723
|
# ExcludedKeywordSearchParameter
|
1664
1724
|
# - searchParameter_Type - SOAP::SOAPString
|
1665
1725
|
# - keywords - AdwordsApi::V201003::TargetingIdeaService::Keyword
|
@@ -1673,276 +1733,162 @@ class ExcludedKeywordSearchParameter < SearchParameter
|
|
1673
1733
|
end
|
1674
1734
|
end
|
1675
1735
|
|
1676
|
-
#
|
1736
|
+
# GlobalMonthlySearchesSearchParameter
|
1677
1737
|
# - searchParameter_Type - SOAP::SOAPString
|
1678
|
-
# -
|
1679
|
-
class
|
1738
|
+
# - operation - AdwordsApi::V201003::TargetingIdeaService::LongComparisonOperation
|
1739
|
+
class GlobalMonthlySearchesSearchParameter < SearchParameter
|
1680
1740
|
attr_accessor :searchParameter_Type
|
1681
|
-
attr_accessor :
|
1741
|
+
attr_accessor :operation
|
1682
1742
|
|
1683
|
-
def initialize(searchParameter_Type = nil,
|
1743
|
+
def initialize(searchParameter_Type = nil, operation = nil)
|
1684
1744
|
@searchParameter_Type = searchParameter_Type
|
1685
|
-
@
|
1686
|
-
end
|
1687
|
-
end
|
1688
|
-
|
1689
|
-
# TargetingIdeaSelector
|
1690
|
-
# - searchParameters - AdwordsApi::V201003::TargetingIdeaService::SearchParameter
|
1691
|
-
# - ideaType - AdwordsApi::V201003::TargetingIdeaService::IdeaType
|
1692
|
-
# - requestType - AdwordsApi::V201003::TargetingIdeaService::RequestType
|
1693
|
-
# - requestedAttributeTypes - AdwordsApi::V201003::TargetingIdeaService::AttributeType
|
1694
|
-
# - paging - AdwordsApi::V201003::TargetingIdeaService::Paging
|
1695
|
-
# - localeCode - SOAP::SOAPString
|
1696
|
-
# - currencyCode - SOAP::SOAPString
|
1697
|
-
class TargetingIdeaSelector
|
1698
|
-
attr_accessor :searchParameters
|
1699
|
-
attr_accessor :ideaType
|
1700
|
-
attr_accessor :requestType
|
1701
|
-
attr_accessor :requestedAttributeTypes
|
1702
|
-
attr_accessor :paging
|
1703
|
-
attr_accessor :localeCode
|
1704
|
-
attr_accessor :currencyCode
|
1705
|
-
|
1706
|
-
def initialize(searchParameters = [], ideaType = nil, requestType = nil, requestedAttributeTypes = [], paging = nil, localeCode = nil, currencyCode = nil)
|
1707
|
-
@searchParameters = searchParameters
|
1708
|
-
@ideaType = ideaType
|
1709
|
-
@requestType = requestType
|
1710
|
-
@requestedAttributeTypes = requestedAttributeTypes
|
1711
|
-
@paging = paging
|
1712
|
-
@localeCode = localeCode
|
1713
|
-
@currencyCode = currencyCode
|
1714
|
-
end
|
1715
|
-
end
|
1716
|
-
|
1717
|
-
# Attribute
|
1718
|
-
# abstract
|
1719
|
-
# - attribute_Type - SOAP::SOAPString
|
1720
|
-
class Attribute
|
1721
|
-
attr_accessor :attribute_Type
|
1722
|
-
|
1723
|
-
def initialize(attribute_Type = nil)
|
1724
|
-
@attribute_Type = attribute_Type
|
1725
|
-
end
|
1726
|
-
end
|
1727
|
-
|
1728
|
-
# AdFormatSpecListAttribute
|
1729
|
-
# - attribute_Type - SOAP::SOAPString
|
1730
|
-
# - value - AdwordsApi::V201003::TargetingIdeaService::AdFormatSpec
|
1731
|
-
class AdFormatSpecListAttribute < Attribute
|
1732
|
-
attr_accessor :attribute_Type
|
1733
|
-
attr_accessor :value
|
1734
|
-
|
1735
|
-
def initialize(attribute_Type = nil, value = [])
|
1736
|
-
@attribute_Type = attribute_Type
|
1737
|
-
@value = value
|
1738
|
-
end
|
1739
|
-
end
|
1740
|
-
|
1741
|
-
# BooleanAttribute
|
1742
|
-
# - attribute_Type - SOAP::SOAPString
|
1743
|
-
# - value - SOAP::SOAPBoolean
|
1744
|
-
class BooleanAttribute < Attribute
|
1745
|
-
attr_accessor :attribute_Type
|
1746
|
-
attr_accessor :value
|
1747
|
-
|
1748
|
-
def initialize(attribute_Type = nil, value = nil)
|
1749
|
-
@attribute_Type = attribute_Type
|
1750
|
-
@value = value
|
1751
|
-
end
|
1752
|
-
end
|
1753
|
-
|
1754
|
-
# DoubleAttribute
|
1755
|
-
# - attribute_Type - SOAP::SOAPString
|
1756
|
-
# - value - SOAP::SOAPDouble
|
1757
|
-
class DoubleAttribute < Attribute
|
1758
|
-
attr_accessor :attribute_Type
|
1759
|
-
attr_accessor :value
|
1760
|
-
|
1761
|
-
def initialize(attribute_Type = nil, value = nil)
|
1762
|
-
@attribute_Type = attribute_Type
|
1763
|
-
@value = value
|
1764
|
-
end
|
1765
|
-
end
|
1766
|
-
|
1767
|
-
# IdeaTypeAttribute
|
1768
|
-
# - attribute_Type - SOAP::SOAPString
|
1769
|
-
# - value - AdwordsApi::V201003::TargetingIdeaService::IdeaType
|
1770
|
-
class IdeaTypeAttribute < Attribute
|
1771
|
-
attr_accessor :attribute_Type
|
1772
|
-
attr_accessor :value
|
1773
|
-
|
1774
|
-
def initialize(attribute_Type = nil, value = nil)
|
1775
|
-
@attribute_Type = attribute_Type
|
1776
|
-
@value = value
|
1777
|
-
end
|
1778
|
-
end
|
1779
|
-
|
1780
|
-
# InStreamAdInfoAttribute
|
1781
|
-
# - attribute_Type - SOAP::SOAPString
|
1782
|
-
# - value - AdwordsApi::V201003::TargetingIdeaService::InStreamAdInfo
|
1783
|
-
class InStreamAdInfoAttribute < Attribute
|
1784
|
-
attr_accessor :attribute_Type
|
1785
|
-
attr_accessor :value
|
1786
|
-
|
1787
|
-
def initialize(attribute_Type = nil, value = nil)
|
1788
|
-
@attribute_Type = attribute_Type
|
1789
|
-
@value = value
|
1790
|
-
end
|
1791
|
-
end
|
1792
|
-
|
1793
|
-
# IntegerAttribute
|
1794
|
-
# - attribute_Type - SOAP::SOAPString
|
1795
|
-
# - value - SOAP::SOAPInt
|
1796
|
-
class IntegerAttribute < Attribute
|
1797
|
-
attr_accessor :attribute_Type
|
1798
|
-
attr_accessor :value
|
1799
|
-
|
1800
|
-
def initialize(attribute_Type = nil, value = nil)
|
1801
|
-
@attribute_Type = attribute_Type
|
1802
|
-
@value = value
|
1745
|
+
@operation = operation
|
1803
1746
|
end
|
1804
1747
|
end
|
1805
1748
|
|
1806
|
-
#
|
1807
|
-
# -
|
1808
|
-
# -
|
1809
|
-
|
1810
|
-
|
1811
|
-
|
1749
|
+
# IdeaTextMatchesSearchParameter
|
1750
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1751
|
+
# - included - SOAP::SOAPString
|
1752
|
+
# - excluded - SOAP::SOAPString
|
1753
|
+
# - priorityAction - AdwordsApi::V201003::TargetingIdeaService::MatchAction
|
1754
|
+
class IdeaTextMatchesSearchParameter < SearchParameter
|
1755
|
+
attr_accessor :searchParameter_Type
|
1756
|
+
attr_accessor :included
|
1757
|
+
attr_accessor :excluded
|
1758
|
+
attr_accessor :priorityAction
|
1812
1759
|
|
1813
|
-
def initialize(
|
1814
|
-
@
|
1815
|
-
@
|
1760
|
+
def initialize(searchParameter_Type = nil, included = [], excluded = [], priorityAction = nil)
|
1761
|
+
@searchParameter_Type = searchParameter_Type
|
1762
|
+
@included = included
|
1763
|
+
@excluded = excluded
|
1764
|
+
@priorityAction = priorityAction
|
1816
1765
|
end
|
1817
1766
|
end
|
1818
1767
|
|
1819
|
-
#
|
1820
|
-
# -
|
1821
|
-
|
1822
|
-
|
1823
|
-
attr_accessor :attribute_Type
|
1824
|
-
attr_accessor :value
|
1768
|
+
# IncludeAdultContentSearchParameter
|
1769
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1770
|
+
class IncludeAdultContentSearchParameter < SearchParameter
|
1771
|
+
attr_accessor :searchParameter_Type
|
1825
1772
|
|
1826
|
-
def initialize(
|
1827
|
-
@
|
1828
|
-
@value = value
|
1773
|
+
def initialize(searchParameter_Type = nil)
|
1774
|
+
@searchParameter_Type = searchParameter_Type
|
1829
1775
|
end
|
1830
1776
|
end
|
1831
1777
|
|
1832
|
-
#
|
1833
|
-
# -
|
1834
|
-
# -
|
1835
|
-
class
|
1836
|
-
attr_accessor :
|
1837
|
-
attr_accessor :
|
1778
|
+
# KeywordCategoryIdSearchParameter
|
1779
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1780
|
+
# - categoryId - SOAP::SOAPInt
|
1781
|
+
class KeywordCategoryIdSearchParameter < SearchParameter
|
1782
|
+
attr_accessor :searchParameter_Type
|
1783
|
+
attr_accessor :categoryId
|
1838
1784
|
|
1839
|
-
def initialize(
|
1840
|
-
@
|
1841
|
-
@
|
1785
|
+
def initialize(searchParameter_Type = nil, categoryId = nil)
|
1786
|
+
@searchParameter_Type = searchParameter_Type
|
1787
|
+
@categoryId = categoryId
|
1842
1788
|
end
|
1843
1789
|
end
|
1844
1790
|
|
1845
|
-
#
|
1846
|
-
# -
|
1847
|
-
# -
|
1848
|
-
class
|
1849
|
-
attr_accessor :
|
1850
|
-
attr_accessor :
|
1791
|
+
# KeywordMatchTypeSearchParameter
|
1792
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1793
|
+
# - keywordMatchTypes - AdwordsApi::V201003::TargetingIdeaService::KeywordMatchType
|
1794
|
+
class KeywordMatchTypeSearchParameter < SearchParameter
|
1795
|
+
attr_accessor :searchParameter_Type
|
1796
|
+
attr_accessor :keywordMatchTypes
|
1851
1797
|
|
1852
|
-
def initialize(
|
1853
|
-
@
|
1854
|
-
@
|
1798
|
+
def initialize(searchParameter_Type = nil, keywordMatchTypes = [])
|
1799
|
+
@searchParameter_Type = searchParameter_Type
|
1800
|
+
@keywordMatchTypes = keywordMatchTypes
|
1855
1801
|
end
|
1856
1802
|
end
|
1857
1803
|
|
1858
|
-
#
|
1859
|
-
# -
|
1860
|
-
# -
|
1861
|
-
class
|
1862
|
-
attr_accessor :
|
1863
|
-
attr_accessor :
|
1804
|
+
# LanguageTargetSearchParameter
|
1805
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1806
|
+
# - languageTargets - AdwordsApi::V201003::TargetingIdeaService::LanguageTarget
|
1807
|
+
class LanguageTargetSearchParameter < SearchParameter
|
1808
|
+
attr_accessor :searchParameter_Type
|
1809
|
+
attr_accessor :languageTargets
|
1864
1810
|
|
1865
|
-
def initialize(
|
1866
|
-
@
|
1867
|
-
@
|
1811
|
+
def initialize(searchParameter_Type = nil, languageTargets = [])
|
1812
|
+
@searchParameter_Type = searchParameter_Type
|
1813
|
+
@languageTargets = languageTargets
|
1868
1814
|
end
|
1869
1815
|
end
|
1870
1816
|
|
1871
|
-
#
|
1872
|
-
# -
|
1873
|
-
|
1874
|
-
|
1875
|
-
attr_accessor :attribute_Type
|
1876
|
-
attr_accessor :value
|
1817
|
+
# MobileSearchParameter
|
1818
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1819
|
+
class MobileSearchParameter < SearchParameter
|
1820
|
+
attr_accessor :searchParameter_Type
|
1877
1821
|
|
1878
|
-
def initialize(
|
1879
|
-
@
|
1880
|
-
@value = value
|
1822
|
+
def initialize(searchParameter_Type = nil)
|
1823
|
+
@searchParameter_Type = searchParameter_Type
|
1881
1824
|
end
|
1882
1825
|
end
|
1883
1826
|
|
1884
|
-
#
|
1885
|
-
# -
|
1886
|
-
# -
|
1887
|
-
class
|
1888
|
-
attr_accessor :
|
1889
|
-
attr_accessor :
|
1827
|
+
# PlacementTypeSearchParameter
|
1828
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1829
|
+
# - placementTypes - AdwordsApi::V201003::TargetingIdeaService::SiteConstantsPlacementType
|
1830
|
+
class PlacementTypeSearchParameter < SearchParameter
|
1831
|
+
attr_accessor :searchParameter_Type
|
1832
|
+
attr_accessor :placementTypes
|
1890
1833
|
|
1891
|
-
def initialize(
|
1892
|
-
@
|
1893
|
-
@
|
1834
|
+
def initialize(searchParameter_Type = nil, placementTypes = [])
|
1835
|
+
@searchParameter_Type = searchParameter_Type
|
1836
|
+
@placementTypes = placementTypes
|
1894
1837
|
end
|
1895
1838
|
end
|
1896
1839
|
|
1897
|
-
#
|
1898
|
-
# -
|
1899
|
-
# -
|
1900
|
-
class
|
1901
|
-
attr_accessor :
|
1902
|
-
attr_accessor :
|
1840
|
+
# RelatedToKeywordSearchParameter
|
1841
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1842
|
+
# - keywords - AdwordsApi::V201003::TargetingIdeaService::Keyword
|
1843
|
+
class RelatedToKeywordSearchParameter < SearchParameter
|
1844
|
+
attr_accessor :searchParameter_Type
|
1845
|
+
attr_accessor :keywords
|
1903
1846
|
|
1904
|
-
def initialize(
|
1905
|
-
@
|
1906
|
-
@
|
1847
|
+
def initialize(searchParameter_Type = nil, keywords = [])
|
1848
|
+
@searchParameter_Type = searchParameter_Type
|
1849
|
+
@keywords = keywords
|
1907
1850
|
end
|
1908
1851
|
end
|
1909
1852
|
|
1910
|
-
#
|
1911
|
-
# -
|
1912
|
-
# -
|
1913
|
-
|
1914
|
-
|
1915
|
-
attr_accessor :
|
1853
|
+
# RelatedToUrlSearchParameter
|
1854
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1855
|
+
# - urls - SOAP::SOAPString
|
1856
|
+
# - includeSubUrls - SOAP::SOAPBoolean
|
1857
|
+
class RelatedToUrlSearchParameter < SearchParameter
|
1858
|
+
attr_accessor :searchParameter_Type
|
1859
|
+
attr_accessor :urls
|
1860
|
+
attr_accessor :includeSubUrls
|
1916
1861
|
|
1917
|
-
def initialize(
|
1918
|
-
@
|
1919
|
-
@
|
1862
|
+
def initialize(searchParameter_Type = nil, urls = [], includeSubUrls = nil)
|
1863
|
+
@searchParameter_Type = searchParameter_Type
|
1864
|
+
@urls = urls
|
1865
|
+
@includeSubUrls = includeSubUrls
|
1920
1866
|
end
|
1921
1867
|
end
|
1922
1868
|
|
1923
|
-
#
|
1924
|
-
# -
|
1925
|
-
# -
|
1926
|
-
class
|
1927
|
-
attr_accessor :
|
1928
|
-
attr_accessor :
|
1869
|
+
# SearchShareSearchParameter
|
1870
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1871
|
+
# - operation - AdwordsApi::V201003::TargetingIdeaService::DoubleComparisonOperation
|
1872
|
+
class SearchShareSearchParameter < SearchParameter
|
1873
|
+
attr_accessor :searchParameter_Type
|
1874
|
+
attr_accessor :operation
|
1929
1875
|
|
1930
|
-
def initialize(
|
1931
|
-
@
|
1932
|
-
@
|
1876
|
+
def initialize(searchParameter_Type = nil, operation = nil)
|
1877
|
+
@searchParameter_Type = searchParameter_Type
|
1878
|
+
@operation = operation
|
1933
1879
|
end
|
1934
1880
|
end
|
1935
1881
|
|
1936
|
-
#
|
1937
|
-
# -
|
1938
|
-
# -
|
1939
|
-
class
|
1940
|
-
attr_accessor :
|
1941
|
-
attr_accessor :
|
1882
|
+
# SeedAdGroupIdSearchParameter
|
1883
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1884
|
+
# - adGroupId - SOAP::SOAPLong
|
1885
|
+
class SeedAdGroupIdSearchParameter < SearchParameter
|
1886
|
+
attr_accessor :searchParameter_Type
|
1887
|
+
attr_accessor :adGroupId
|
1942
1888
|
|
1943
|
-
def initialize(
|
1944
|
-
@
|
1945
|
-
@
|
1889
|
+
def initialize(searchParameter_Type = nil, adGroupId = nil)
|
1890
|
+
@searchParameter_Type = searchParameter_Type
|
1891
|
+
@adGroupId = adGroupId
|
1946
1892
|
end
|
1947
1893
|
end
|
1948
1894
|
|
@@ -1969,6 +1915,60 @@ class TargetingIdeaPage
|
|
1969
1915
|
end
|
1970
1916
|
end
|
1971
1917
|
|
1918
|
+
# TargetingIdeaSelector
|
1919
|
+
# - searchParameters - AdwordsApi::V201003::TargetingIdeaService::SearchParameter
|
1920
|
+
# - ideaType - AdwordsApi::V201003::TargetingIdeaService::IdeaType
|
1921
|
+
# - requestType - AdwordsApi::V201003::TargetingIdeaService::RequestType
|
1922
|
+
# - requestedAttributeTypes - AdwordsApi::V201003::TargetingIdeaService::AttributeType
|
1923
|
+
# - paging - AdwordsApi::V201003::TargetingIdeaService::Paging
|
1924
|
+
# - localeCode - SOAP::SOAPString
|
1925
|
+
# - currencyCode - SOAP::SOAPString
|
1926
|
+
class TargetingIdeaSelector
|
1927
|
+
attr_accessor :searchParameters
|
1928
|
+
attr_accessor :ideaType
|
1929
|
+
attr_accessor :requestType
|
1930
|
+
attr_accessor :requestedAttributeTypes
|
1931
|
+
attr_accessor :paging
|
1932
|
+
attr_accessor :localeCode
|
1933
|
+
attr_accessor :currencyCode
|
1934
|
+
|
1935
|
+
def initialize(searchParameters = [], ideaType = nil, requestType = nil, requestedAttributeTypes = [], paging = nil, localeCode = nil, currencyCode = nil)
|
1936
|
+
@searchParameters = searchParameters
|
1937
|
+
@ideaType = ideaType
|
1938
|
+
@requestType = requestType
|
1939
|
+
@requestedAttributeTypes = requestedAttributeTypes
|
1940
|
+
@paging = paging
|
1941
|
+
@localeCode = localeCode
|
1942
|
+
@currencyCode = currencyCode
|
1943
|
+
end
|
1944
|
+
end
|
1945
|
+
|
1946
|
+
# Type_AttributeMapEntry
|
1947
|
+
# - key - AdwordsApi::V201003::TargetingIdeaService::AttributeType
|
1948
|
+
# - value - AdwordsApi::V201003::TargetingIdeaService::Attribute
|
1949
|
+
class Type_AttributeMapEntry
|
1950
|
+
attr_accessor :key
|
1951
|
+
attr_accessor :value
|
1952
|
+
|
1953
|
+
def initialize(key = nil, value = nil)
|
1954
|
+
@key = key
|
1955
|
+
@value = value
|
1956
|
+
end
|
1957
|
+
end
|
1958
|
+
|
1959
|
+
# WebpageDescriptor
|
1960
|
+
# - url - SOAP::SOAPString
|
1961
|
+
# - title - SOAP::SOAPString
|
1962
|
+
class WebpageDescriptor
|
1963
|
+
attr_accessor :url
|
1964
|
+
attr_accessor :title
|
1965
|
+
|
1966
|
+
def initialize(url = nil, title = nil)
|
1967
|
+
@url = url
|
1968
|
+
@title = title
|
1969
|
+
end
|
1970
|
+
end
|
1971
|
+
|
1972
1972
|
# AdGroupCriterionError.Reason
|
1973
1973
|
class AdGroupCriterionErrorReason < ::String
|
1974
1974
|
BID_INCOMPATIBLE_WITH_ADGROUP = AdGroupCriterionErrorReason.new("BID_INCOMPATIBLE_WITH_ADGROUP")
|