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
@@ -40,7 +40,7 @@ module AdwordsApi
|
|
40
40
|
# Set other constants
|
41
41
|
API_NAME = 'AdwordsApi'
|
42
42
|
API_PATH = 'adwords_api'
|
43
|
-
CLIENT_LIB_VERSION = '0.1.
|
43
|
+
CLIENT_LIB_VERSION = '0.1.1'
|
44
44
|
|
45
45
|
# Configure the services available to each version
|
46
46
|
@@service_config = {
|
@@ -71,8 +71,9 @@ module AdwordsApi
|
|
71
71
|
:v201101 => [:AdExtensionOverrideService, :AdGroupAdService,
|
72
72
|
:AdGroupCriterionService, :AdGroupService, :AdParamService,
|
73
73
|
:AlertService, :BulkMutateJobService,
|
74
|
-
:
|
75
|
-
:
|
74
|
+
:BulkOpportunityService, :CampaignAdExtensionService,
|
75
|
+
:CampaignCriterionService, :CampaignService,
|
76
|
+
:CampaignTargetService, :ConversionTrackerService,
|
76
77
|
:CustomerSyncService, :DataService, :ExperimentService,
|
77
78
|
:GeoLocationService, :InfoService, :MediaService,
|
78
79
|
:ReportDefinitionService, :ServicedAccountService,
|
@@ -167,10 +168,12 @@ module AdwordsApi
|
|
167
168
|
[:v201101, :AdParamService] => 'cm/',
|
168
169
|
[:v201101, :AlertService] => 'mcm/',
|
169
170
|
[:v201101, :BulkMutateJobService] => 'job/',
|
171
|
+
[:v201101, :BulkOpportunityService] => 'o/',
|
170
172
|
[:v201101, :CampaignAdExtensionService] => 'cm/',
|
171
173
|
[:v201101, :CampaignCriterionService] => 'cm/',
|
172
174
|
[:v201101, :CampaignService] => 'cm/',
|
173
175
|
[:v201101, :CampaignTargetService] => 'cm/',
|
176
|
+
[:v201101, :ConversionTrackerService] => 'cm/',
|
174
177
|
[:v201101, :CustomerSyncService] => 'ch/',
|
175
178
|
[:v201101, :DataService] => 'cm/',
|
176
179
|
[:v201101, :ExperimentService] => 'cm/',
|
data/lib/adwords_api/errors.rb
CHANGED
@@ -70,7 +70,10 @@ module AdwordsApi
|
|
70
70
|
# Convert error objects to hashes.
|
71
71
|
errors = nil
|
72
72
|
if inner_fault.errors
|
73
|
-
|
73
|
+
# Fix problem with single errors on mismatched namespaces.
|
74
|
+
error_array = inner_fault.errors.is_a?(Array) ? inner_fault.errors :
|
75
|
+
[inner_fault.errors]
|
76
|
+
errors = error_array.map do |error_object|
|
74
77
|
wrapper.convert_from_object(error_object)
|
75
78
|
end
|
76
79
|
end
|
@@ -38,7 +38,7 @@ module AdwordsApi
|
|
38
38
|
[:v201008, :ReportDefinitionService] => [:download_report,
|
39
39
|
:download_report_as_file],
|
40
40
|
[:v201101, :ReportDefinitionService] => [:download_report,
|
41
|
-
:download_report_as_file
|
41
|
+
:download_report_as_file]
|
42
42
|
}
|
43
43
|
|
44
44
|
# Defines the parameter list for every extension method
|
@@ -16,7 +16,7 @@ class AccountInterface < ::SOAP::RPC::Driver
|
|
16
16
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getAccountInfoResponse"]] ],
|
17
17
|
{ :request_style => :document, :request_use => :literal,
|
18
18
|
:response_style => :document, :response_use => :literal,
|
19
|
-
:faults => {"AdwordsApi::V13::AccountService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :
|
19
|
+
:faults => {"AdwordsApi::V13::AccountService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :name=>"ApiException"}} }
|
20
20
|
],
|
21
21
|
[ "",
|
22
22
|
"getClientAccountInfos",
|
@@ -24,7 +24,7 @@ class AccountInterface < ::SOAP::RPC::Driver
|
|
24
24
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getClientAccountInfosResponse"]] ],
|
25
25
|
{ :request_style => :document, :request_use => :literal,
|
26
26
|
:response_style => :document, :response_use => :literal,
|
27
|
-
:faults => {"AdwordsApi::V13::AccountService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :
|
27
|
+
:faults => {"AdwordsApi::V13::AccountService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :name=>"ApiException"}} }
|
28
28
|
],
|
29
29
|
[ "",
|
30
30
|
"getClientAccounts",
|
@@ -32,7 +32,7 @@ class AccountInterface < ::SOAP::RPC::Driver
|
|
32
32
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getClientAccountsResponse"]] ],
|
33
33
|
{ :request_style => :document, :request_use => :literal,
|
34
34
|
:response_style => :document, :response_use => :literal,
|
35
|
-
:faults => {"AdwordsApi::V13::AccountService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :
|
35
|
+
:faults => {"AdwordsApi::V13::AccountService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :name=>"ApiException"}} }
|
36
36
|
],
|
37
37
|
[ "",
|
38
38
|
"getMccAlerts",
|
@@ -40,7 +40,7 @@ class AccountInterface < ::SOAP::RPC::Driver
|
|
40
40
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getMccAlertsResponse"]] ],
|
41
41
|
{ :request_style => :document, :request_use => :literal,
|
42
42
|
:response_style => :document, :response_use => :literal,
|
43
|
-
:faults => {"AdwordsApi::V13::AccountService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :
|
43
|
+
:faults => {"AdwordsApi::V13::AccountService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :name=>"ApiException"}} }
|
44
44
|
],
|
45
45
|
[ "",
|
46
46
|
"updateAccountInfo",
|
@@ -48,7 +48,7 @@ class AccountInterface < ::SOAP::RPC::Driver
|
|
48
48
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "updateAccountInfoResponse"]] ],
|
49
49
|
{ :request_style => :document, :request_use => :literal,
|
50
50
|
:response_style => :document, :response_use => :literal,
|
51
|
-
:faults => {"AdwordsApi::V13::AccountService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :
|
51
|
+
:faults => {"AdwordsApi::V13::AccountService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :name=>"ApiException"}} }
|
52
52
|
]
|
53
53
|
]
|
54
54
|
|
@@ -16,7 +16,7 @@ class ReportInterface < ::SOAP::RPC::Driver
|
|
16
16
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "deleteReportResponse"]] ],
|
17
17
|
{ :request_style => :document, :request_use => :literal,
|
18
18
|
:response_style => :document, :response_use => :literal,
|
19
|
-
:faults => {"AdwordsApi::V13::ReportService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :
|
19
|
+
:faults => {"AdwordsApi::V13::ReportService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :name=>"ApiException"}} }
|
20
20
|
],
|
21
21
|
[ "",
|
22
22
|
"getAllJobs",
|
@@ -24,7 +24,7 @@ class ReportInterface < ::SOAP::RPC::Driver
|
|
24
24
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getAllJobsResponse"]] ],
|
25
25
|
{ :request_style => :document, :request_use => :literal,
|
26
26
|
:response_style => :document, :response_use => :literal,
|
27
|
-
:faults => {"AdwordsApi::V13::ReportService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :
|
27
|
+
:faults => {"AdwordsApi::V13::ReportService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :name=>"ApiException"}} }
|
28
28
|
],
|
29
29
|
[ "",
|
30
30
|
"getGzipReportDownloadUrl",
|
@@ -32,7 +32,7 @@ class ReportInterface < ::SOAP::RPC::Driver
|
|
32
32
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getGzipReportDownloadUrlResponse"]] ],
|
33
33
|
{ :request_style => :document, :request_use => :literal,
|
34
34
|
:response_style => :document, :response_use => :literal,
|
35
|
-
:faults => {"AdwordsApi::V13::ReportService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :
|
35
|
+
:faults => {"AdwordsApi::V13::ReportService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :name=>"ApiException"}} }
|
36
36
|
],
|
37
37
|
[ "",
|
38
38
|
"getReportDownloadUrl",
|
@@ -40,7 +40,7 @@ class ReportInterface < ::SOAP::RPC::Driver
|
|
40
40
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getReportDownloadUrlResponse"]] ],
|
41
41
|
{ :request_style => :document, :request_use => :literal,
|
42
42
|
:response_style => :document, :response_use => :literal,
|
43
|
-
:faults => {"AdwordsApi::V13::ReportService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :
|
43
|
+
:faults => {"AdwordsApi::V13::ReportService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :name=>"ApiException"}} }
|
44
44
|
],
|
45
45
|
[ "",
|
46
46
|
"getReportJobStatus",
|
@@ -48,7 +48,7 @@ class ReportInterface < ::SOAP::RPC::Driver
|
|
48
48
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getReportJobStatusResponse"]] ],
|
49
49
|
{ :request_style => :document, :request_use => :literal,
|
50
50
|
:response_style => :document, :response_use => :literal,
|
51
|
-
:faults => {"AdwordsApi::V13::ReportService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :
|
51
|
+
:faults => {"AdwordsApi::V13::ReportService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :name=>"ApiException"}} }
|
52
52
|
],
|
53
53
|
[ "",
|
54
54
|
"scheduleReportJob",
|
@@ -56,7 +56,7 @@ class ReportInterface < ::SOAP::RPC::Driver
|
|
56
56
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "scheduleReportJobResponse"]] ],
|
57
57
|
{ :request_style => :document, :request_use => :literal,
|
58
58
|
:response_style => :document, :response_use => :literal,
|
59
|
-
:faults => {"AdwordsApi::V13::ReportService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :
|
59
|
+
:faults => {"AdwordsApi::V13::ReportService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :name=>"ApiException"}} }
|
60
60
|
],
|
61
61
|
[ "",
|
62
62
|
"validateReportJob",
|
@@ -64,7 +64,7 @@ class ReportInterface < ::SOAP::RPC::Driver
|
|
64
64
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "validateReportJobResponse"]] ],
|
65
65
|
{ :request_style => :document, :request_use => :literal,
|
66
66
|
:response_style => :document, :response_use => :literal,
|
67
|
-
:faults => {"AdwordsApi::V13::ReportService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :
|
67
|
+
:faults => {"AdwordsApi::V13::ReportService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :name=>"ApiException"}} }
|
68
68
|
]
|
69
69
|
]
|
70
70
|
|
@@ -16,7 +16,7 @@ class TrafficEstimatorInterface < ::SOAP::RPC::Driver
|
|
16
16
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "checkKeywordTrafficResponse"]] ],
|
17
17
|
{ :request_style => :document, :request_use => :literal,
|
18
18
|
:response_style => :document, :response_use => :literal,
|
19
|
-
:faults => {"AdwordsApi::V13::TrafficEstimatorService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :
|
19
|
+
:faults => {"AdwordsApi::V13::TrafficEstimatorService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :name=>"ApiException"}} }
|
20
20
|
],
|
21
21
|
[ "",
|
22
22
|
"estimateAdGroupList",
|
@@ -24,7 +24,7 @@ class TrafficEstimatorInterface < ::SOAP::RPC::Driver
|
|
24
24
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "estimateAdGroupListResponse"]] ],
|
25
25
|
{ :request_style => :document, :request_use => :literal,
|
26
26
|
:response_style => :document, :response_use => :literal,
|
27
|
-
:faults => {"AdwordsApi::V13::TrafficEstimatorService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :
|
27
|
+
:faults => {"AdwordsApi::V13::TrafficEstimatorService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :name=>"ApiException"}} }
|
28
28
|
],
|
29
29
|
[ "",
|
30
30
|
"estimateCampaignList",
|
@@ -32,7 +32,7 @@ class TrafficEstimatorInterface < ::SOAP::RPC::Driver
|
|
32
32
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "estimateCampaignListResponse"]] ],
|
33
33
|
{ :request_style => :document, :request_use => :literal,
|
34
34
|
:response_style => :document, :response_use => :literal,
|
35
|
-
:faults => {"AdwordsApi::V13::TrafficEstimatorService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :
|
35
|
+
:faults => {"AdwordsApi::V13::TrafficEstimatorService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :name=>"ApiException"}} }
|
36
36
|
],
|
37
37
|
[ "",
|
38
38
|
"estimateKeywordList",
|
@@ -40,7 +40,7 @@ class TrafficEstimatorInterface < ::SOAP::RPC::Driver
|
|
40
40
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "estimateKeywordListResponse"]] ],
|
41
41
|
{ :request_style => :document, :request_use => :literal,
|
42
42
|
:response_style => :document, :response_use => :literal,
|
43
|
-
:faults => {"AdwordsApi::V13::TrafficEstimatorService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :
|
43
|
+
:faults => {"AdwordsApi::V13::TrafficEstimatorService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :name=>"ApiException"}} }
|
44
44
|
]
|
45
45
|
]
|
46
46
|
|
@@ -16,7 +16,7 @@ class AdExtensionOverrideServiceInterface < ::SOAP::RPC::Driver
|
|
16
16
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v200909", "getResponse"]] ],
|
17
17
|
{ :request_style => :document, :request_use => :literal,
|
18
18
|
:response_style => :document, :response_use => :literal,
|
19
|
-
:faults => {"AdwordsApi::V200909::AdExtensionOverrideService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :
|
19
|
+
:faults => {"AdwordsApi::V200909::AdExtensionOverrideService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :name=>"ApiException"}} }
|
20
20
|
],
|
21
21
|
[ "",
|
22
22
|
"mutate",
|
@@ -24,7 +24,7 @@ class AdExtensionOverrideServiceInterface < ::SOAP::RPC::Driver
|
|
24
24
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v200909", "mutateResponse"]] ],
|
25
25
|
{ :request_style => :document, :request_use => :literal,
|
26
26
|
:response_style => :document, :response_use => :literal,
|
27
|
-
:faults => {"AdwordsApi::V200909::AdExtensionOverrideService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :
|
27
|
+
:faults => {"AdwordsApi::V200909::AdExtensionOverrideService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :name=>"ApiException"}} }
|
28
28
|
]
|
29
29
|
]
|
30
30
|
|
@@ -16,7 +16,7 @@ class AdGroupAdServiceInterface < ::SOAP::RPC::Driver
|
|
16
16
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v200909", "getResponse"]] ],
|
17
17
|
{ :request_style => :document, :request_use => :literal,
|
18
18
|
:response_style => :document, :response_use => :literal,
|
19
|
-
:faults => {"AdwordsApi::V200909::AdGroupAdService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :
|
19
|
+
:faults => {"AdwordsApi::V200909::AdGroupAdService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :name=>"ApiException"}} }
|
20
20
|
],
|
21
21
|
[ "",
|
22
22
|
"mutate",
|
@@ -24,7 +24,7 @@ class AdGroupAdServiceInterface < ::SOAP::RPC::Driver
|
|
24
24
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v200909", "mutateResponse"]] ],
|
25
25
|
{ :request_style => :document, :request_use => :literal,
|
26
26
|
:response_style => :document, :response_use => :literal,
|
27
|
-
:faults => {"AdwordsApi::V200909::AdGroupAdService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :
|
27
|
+
:faults => {"AdwordsApi::V200909::AdGroupAdService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :name=>"ApiException"}} }
|
28
28
|
]
|
29
29
|
]
|
30
30
|
|
@@ -3,279 +3,182 @@ require 'xsd/qname'
|
|
3
3
|
module AdwordsApi; module V200909; module AdGroupCriterionService
|
4
4
|
|
5
5
|
|
6
|
-
#
|
7
|
-
# - campaignId - SOAP::SOAPLong
|
6
|
+
# AdGroupCriterion
|
8
7
|
# - adGroupId - SOAP::SOAPLong
|
9
|
-
# -
|
10
|
-
|
11
|
-
|
8
|
+
# - criterion - AdwordsApi::V200909::AdGroupCriterionService::Criterion
|
9
|
+
# - adGroupCriterion_Type - SOAP::SOAPString
|
10
|
+
class AdGroupCriterion
|
12
11
|
attr_accessor :adGroupId
|
13
|
-
attr_accessor :
|
12
|
+
attr_accessor :criterion
|
13
|
+
attr_accessor :adGroupCriterion_Type
|
14
14
|
|
15
|
-
def initialize(
|
16
|
-
@campaignId = campaignId
|
15
|
+
def initialize(adGroupId = nil, criterion = nil, adGroupCriterion_Type = nil)
|
17
16
|
@adGroupId = adGroupId
|
18
|
-
@
|
19
|
-
|
20
|
-
end
|
21
|
-
|
22
|
-
# DateRange
|
23
|
-
# - min - SOAP::SOAPString
|
24
|
-
# - max - SOAP::SOAPString
|
25
|
-
class DateRange
|
26
|
-
attr_accessor :min
|
27
|
-
attr_accessor :max
|
28
|
-
|
29
|
-
def initialize(min = nil, max = nil)
|
30
|
-
@min = min
|
31
|
-
@max = max
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
# Paging
|
36
|
-
# - startIndex - SOAP::SOAPInt
|
37
|
-
# - numberResults - SOAP::SOAPInt
|
38
|
-
class Paging
|
39
|
-
attr_accessor :startIndex
|
40
|
-
attr_accessor :numberResults
|
41
|
-
|
42
|
-
def initialize(startIndex = nil, numberResults = nil)
|
43
|
-
@startIndex = startIndex
|
44
|
-
@numberResults = numberResults
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
# PolicyViolationError.Part
|
49
|
-
# - index - SOAP::SOAPInt
|
50
|
-
# - length - SOAP::SOAPInt
|
51
|
-
class PolicyViolationErrorPart
|
52
|
-
attr_accessor :index
|
53
|
-
attr_accessor :length
|
54
|
-
|
55
|
-
def initialize(index = nil, length = nil)
|
56
|
-
@index = index
|
57
|
-
@length = length
|
58
|
-
end
|
59
|
-
end
|
60
|
-
|
61
|
-
# PolicyViolationKey
|
62
|
-
# - policyName - SOAP::SOAPString
|
63
|
-
# - violatingText - SOAP::SOAPString
|
64
|
-
class PolicyViolationKey
|
65
|
-
attr_accessor :policyName
|
66
|
-
attr_accessor :violatingText
|
67
|
-
|
68
|
-
def initialize(policyName = nil, violatingText = nil)
|
69
|
-
@policyName = policyName
|
70
|
-
@violatingText = violatingText
|
71
|
-
end
|
72
|
-
end
|
73
|
-
|
74
|
-
# QualityInfo
|
75
|
-
# - isKeywordAdRelevanceAcceptable - SOAP::SOAPBoolean
|
76
|
-
# - isLandingPageQualityAcceptable - SOAP::SOAPBoolean
|
77
|
-
# - isLandingPageLatencyAcceptable - SOAP::SOAPBoolean
|
78
|
-
# - qualityScore - SOAP::SOAPInt
|
79
|
-
class QualityInfo
|
80
|
-
attr_accessor :isKeywordAdRelevanceAcceptable
|
81
|
-
attr_accessor :isLandingPageQualityAcceptable
|
82
|
-
attr_accessor :isLandingPageLatencyAcceptable
|
83
|
-
attr_accessor :qualityScore
|
84
|
-
|
85
|
-
def initialize(isKeywordAdRelevanceAcceptable = nil, isLandingPageQualityAcceptable = nil, isLandingPageLatencyAcceptable = nil, qualityScore = nil)
|
86
|
-
@isKeywordAdRelevanceAcceptable = isKeywordAdRelevanceAcceptable
|
87
|
-
@isLandingPageQualityAcceptable = isLandingPageQualityAcceptable
|
88
|
-
@isLandingPageLatencyAcceptable = isLandingPageLatencyAcceptable
|
89
|
-
@qualityScore = qualityScore
|
90
|
-
end
|
91
|
-
end
|
92
|
-
|
93
|
-
# SoapHeader
|
94
|
-
# - applicationToken - SOAP::SOAPString
|
95
|
-
# - authToken - SOAP::SOAPString
|
96
|
-
# - clientCustomerId - SOAP::SOAPString
|
97
|
-
# - clientEmail - SOAP::SOAPString
|
98
|
-
# - developerToken - SOAP::SOAPString
|
99
|
-
# - userAgent - SOAP::SOAPString
|
100
|
-
# - validateOnly - SOAP::SOAPBoolean
|
101
|
-
class SoapHeader
|
102
|
-
attr_accessor :applicationToken
|
103
|
-
attr_accessor :authToken
|
104
|
-
attr_accessor :clientCustomerId
|
105
|
-
attr_accessor :clientEmail
|
106
|
-
attr_accessor :developerToken
|
107
|
-
attr_accessor :userAgent
|
108
|
-
attr_accessor :validateOnly
|
109
|
-
|
110
|
-
def initialize(applicationToken = nil, authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil)
|
111
|
-
@applicationToken = applicationToken
|
112
|
-
@authToken = authToken
|
113
|
-
@clientCustomerId = clientCustomerId
|
114
|
-
@clientEmail = clientEmail
|
115
|
-
@developerToken = developerToken
|
116
|
-
@userAgent = userAgent
|
117
|
-
@validateOnly = validateOnly
|
17
|
+
@criterion = criterion
|
18
|
+
@adGroupCriterion_Type = adGroupCriterion_Type
|
118
19
|
end
|
119
20
|
end
|
120
21
|
|
121
|
-
#
|
122
|
-
# -
|
123
|
-
# -
|
124
|
-
# -
|
125
|
-
# -
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
22
|
+
# BiddableAdGroupCriterion
|
23
|
+
# - adGroupId - SOAP::SOAPLong
|
24
|
+
# - criterion - AdwordsApi::V200909::AdGroupCriterionService::Criterion
|
25
|
+
# - adGroupCriterion_Type - SOAP::SOAPString
|
26
|
+
# - userStatus - AdwordsApi::V200909::AdGroupCriterionService::UserStatus
|
27
|
+
# - systemServingStatus - AdwordsApi::V200909::AdGroupCriterionService::SystemServingStatus
|
28
|
+
# - approvalStatus - AdwordsApi::V200909::AdGroupCriterionService::ApprovalStatus
|
29
|
+
# - destinationUrl - SOAP::SOAPString
|
30
|
+
# - bids - AdwordsApi::V200909::AdGroupCriterionService::AdGroupCriterionBids
|
31
|
+
# - firstPageCpc - AdwordsApi::V200909::AdGroupCriterionService::Bid
|
32
|
+
# - qualityInfo - AdwordsApi::V200909::AdGroupCriterionService::QualityInfo
|
33
|
+
# - stats - AdwordsApi::V200909::AdGroupCriterionService::Stats
|
34
|
+
class BiddableAdGroupCriterion < AdGroupCriterion
|
35
|
+
attr_accessor :adGroupId
|
36
|
+
attr_accessor :criterion
|
37
|
+
attr_accessor :adGroupCriterion_Type
|
38
|
+
attr_accessor :userStatus
|
39
|
+
attr_accessor :systemServingStatus
|
40
|
+
attr_accessor :approvalStatus
|
41
|
+
attr_accessor :destinationUrl
|
42
|
+
attr_accessor :bids
|
43
|
+
attr_accessor :firstPageCpc
|
44
|
+
attr_accessor :qualityInfo
|
45
|
+
attr_accessor :stats
|
131
46
|
|
132
|
-
def initialize(
|
133
|
-
@
|
134
|
-
@
|
135
|
-
@
|
136
|
-
@
|
47
|
+
def initialize(adGroupId = nil, criterion = nil, adGroupCriterion_Type = nil, userStatus = nil, systemServingStatus = nil, approvalStatus = nil, destinationUrl = nil, bids = nil, firstPageCpc = nil, qualityInfo = nil, stats = nil)
|
48
|
+
@adGroupId = adGroupId
|
49
|
+
@criterion = criterion
|
50
|
+
@adGroupCriterion_Type = adGroupCriterion_Type
|
51
|
+
@userStatus = userStatus
|
52
|
+
@systemServingStatus = systemServingStatus
|
53
|
+
@approvalStatus = approvalStatus
|
54
|
+
@destinationUrl = destinationUrl
|
55
|
+
@bids = bids
|
56
|
+
@firstPageCpc = firstPageCpc
|
57
|
+
@qualityInfo = qualityInfo
|
58
|
+
@stats = stats
|
137
59
|
end
|
138
60
|
end
|
139
61
|
|
140
|
-
#
|
141
|
-
# -
|
142
|
-
# -
|
143
|
-
|
144
|
-
|
145
|
-
attr_accessor :
|
62
|
+
# NegativeAdGroupCriterion
|
63
|
+
# - adGroupId - SOAP::SOAPLong
|
64
|
+
# - criterion - AdwordsApi::V200909::AdGroupCriterionService::Criterion
|
65
|
+
# - adGroupCriterion_Type - SOAP::SOAPString
|
66
|
+
class NegativeAdGroupCriterion < AdGroupCriterion
|
67
|
+
attr_accessor :adGroupId
|
68
|
+
attr_accessor :criterion
|
69
|
+
attr_accessor :adGroupCriterion_Type
|
146
70
|
|
147
|
-
def initialize(
|
148
|
-
@
|
149
|
-
@
|
71
|
+
def initialize(adGroupId = nil, criterion = nil, adGroupCriterion_Type = nil)
|
72
|
+
@adGroupId = adGroupId
|
73
|
+
@criterion = criterion
|
74
|
+
@adGroupCriterion_Type = adGroupCriterion_Type
|
150
75
|
end
|
151
76
|
end
|
152
77
|
|
153
|
-
#
|
78
|
+
# AdGroupCriterionBids
|
154
79
|
# abstract
|
155
|
-
# -
|
156
|
-
class
|
157
|
-
attr_accessor :
|
80
|
+
# - adGroupCriterionBids_Type - SOAP::SOAPString
|
81
|
+
class AdGroupCriterionBids
|
82
|
+
attr_accessor :adGroupCriterionBids_Type
|
158
83
|
|
159
|
-
def initialize(
|
160
|
-
@
|
84
|
+
def initialize(adGroupCriterionBids_Type = nil)
|
85
|
+
@adGroupCriterionBids_Type = adGroupCriterionBids_Type
|
161
86
|
end
|
162
87
|
end
|
163
88
|
|
164
|
-
#
|
165
|
-
# -
|
166
|
-
# -
|
167
|
-
class
|
168
|
-
attr_accessor :
|
169
|
-
attr_accessor :
|
89
|
+
# BudgetOptimizerAdGroupCriterionBids
|
90
|
+
# - adGroupCriterionBids_Type - SOAP::SOAPString
|
91
|
+
# - proxyBid - AdwordsApi::V200909::AdGroupCriterionService::Bid
|
92
|
+
class BudgetOptimizerAdGroupCriterionBids < AdGroupCriterionBids
|
93
|
+
attr_accessor :adGroupCriterionBids_Type
|
94
|
+
attr_accessor :proxyBid
|
170
95
|
|
171
|
-
def initialize(
|
172
|
-
@
|
173
|
-
@
|
96
|
+
def initialize(adGroupCriterionBids_Type = nil, proxyBid = nil)
|
97
|
+
@adGroupCriterionBids_Type = adGroupCriterionBids_Type
|
98
|
+
@proxyBid = proxyBid
|
174
99
|
end
|
175
100
|
end
|
176
101
|
|
177
|
-
#
|
178
|
-
#
|
179
|
-
|
180
|
-
|
181
|
-
attr_accessor :comparableValue_Type
|
102
|
+
# ConversionOptimizerAdGroupCriterionBids
|
103
|
+
# - adGroupCriterionBids_Type - SOAP::SOAPString
|
104
|
+
class ConversionOptimizerAdGroupCriterionBids < AdGroupCriterionBids
|
105
|
+
attr_accessor :adGroupCriterionBids_Type
|
182
106
|
|
183
|
-
def initialize(
|
184
|
-
@
|
107
|
+
def initialize(adGroupCriterionBids_Type = nil)
|
108
|
+
@adGroupCriterionBids_Type = adGroupCriterionBids_Type
|
185
109
|
end
|
186
110
|
end
|
187
111
|
|
188
|
-
#
|
189
|
-
# -
|
190
|
-
# -
|
191
|
-
|
192
|
-
|
193
|
-
|
112
|
+
# ManualCPCAdGroupCriterionBids
|
113
|
+
# - adGroupCriterionBids_Type - SOAP::SOAPString
|
114
|
+
# - maxCpc - AdwordsApi::V200909::AdGroupCriterionService::Bid
|
115
|
+
# - bidSource - AdwordsApi::V200909::AdGroupCriterionService::BidSource
|
116
|
+
# - positionPreferenceBids - AdwordsApi::V200909::AdGroupCriterionService::PositionPreferenceAdGroupCriterionBids
|
117
|
+
class ManualCPCAdGroupCriterionBids < AdGroupCriterionBids
|
118
|
+
attr_accessor :adGroupCriterionBids_Type
|
119
|
+
attr_accessor :maxCpc
|
120
|
+
attr_accessor :bidSource
|
121
|
+
attr_accessor :positionPreferenceBids
|
194
122
|
|
195
|
-
def initialize(
|
196
|
-
@
|
197
|
-
@
|
123
|
+
def initialize(adGroupCriterionBids_Type = nil, maxCpc = nil, bidSource = nil, positionPreferenceBids = nil)
|
124
|
+
@adGroupCriterionBids_Type = adGroupCriterionBids_Type
|
125
|
+
@maxCpc = maxCpc
|
126
|
+
@bidSource = bidSource
|
127
|
+
@positionPreferenceBids = positionPreferenceBids
|
198
128
|
end
|
199
129
|
end
|
200
130
|
|
201
|
-
#
|
202
|
-
# -
|
203
|
-
# -
|
204
|
-
|
205
|
-
|
206
|
-
attr_accessor :
|
131
|
+
# ManualCPMAdGroupCriterionBids
|
132
|
+
# - adGroupCriterionBids_Type - SOAP::SOAPString
|
133
|
+
# - maxCpm - AdwordsApi::V200909::AdGroupCriterionService::Bid
|
134
|
+
# - bidSource - AdwordsApi::V200909::AdGroupCriterionService::BidSource
|
135
|
+
class ManualCPMAdGroupCriterionBids < AdGroupCriterionBids
|
136
|
+
attr_accessor :adGroupCriterionBids_Type
|
137
|
+
attr_accessor :maxCpm
|
138
|
+
attr_accessor :bidSource
|
207
139
|
|
208
|
-
def initialize(
|
209
|
-
@
|
210
|
-
@
|
140
|
+
def initialize(adGroupCriterionBids_Type = nil, maxCpm = nil, bidSource = nil)
|
141
|
+
@adGroupCriterionBids_Type = adGroupCriterionBids_Type
|
142
|
+
@maxCpm = maxCpm
|
143
|
+
@bidSource = bidSource
|
211
144
|
end
|
212
145
|
end
|
213
146
|
|
214
|
-
#
|
215
|
-
# -
|
216
|
-
|
217
|
-
|
147
|
+
# AdGroupCriterionIdFilter
|
148
|
+
# - campaignId - SOAP::SOAPLong
|
149
|
+
# - adGroupId - SOAP::SOAPLong
|
150
|
+
# - criterionId - SOAP::SOAPLong
|
151
|
+
class AdGroupCriterionIdFilter
|
152
|
+
attr_accessor :campaignId
|
153
|
+
attr_accessor :adGroupId
|
154
|
+
attr_accessor :criterionId
|
218
155
|
|
219
|
-
def initialize(
|
220
|
-
@
|
156
|
+
def initialize(campaignId = nil, adGroupId = nil, criterionId = nil)
|
157
|
+
@campaignId = campaignId
|
158
|
+
@adGroupId = adGroupId
|
159
|
+
@criterionId = criterionId
|
221
160
|
end
|
222
161
|
end
|
223
162
|
|
224
|
-
#
|
225
|
-
# -
|
226
|
-
# -
|
227
|
-
# -
|
228
|
-
# -
|
229
|
-
# -
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
# - conversionRate - SOAP::SOAPDouble
|
237
|
-
# - costPerConversion - AdwordsApi::V200909::AdGroupCriterionService::Money
|
238
|
-
# - conversionsManyPerClick - SOAP::SOAPLong
|
239
|
-
# - conversionRateManyPerClick - SOAP::SOAPDouble
|
240
|
-
# - costPerConversionManyPerClick - AdwordsApi::V200909::AdGroupCriterionService::Money
|
241
|
-
# - stats_Type - SOAP::SOAPString
|
242
|
-
class Stats
|
243
|
-
attr_accessor :startDate
|
244
|
-
attr_accessor :endDate
|
245
|
-
attr_accessor :network
|
246
|
-
attr_accessor :clicks
|
247
|
-
attr_accessor :impressions
|
248
|
-
attr_accessor :cost
|
249
|
-
attr_accessor :averagePosition
|
250
|
-
attr_accessor :averageCpc
|
251
|
-
attr_accessor :averageCpm
|
252
|
-
attr_accessor :ctr
|
253
|
-
attr_accessor :conversions
|
254
|
-
attr_accessor :conversionRate
|
255
|
-
attr_accessor :costPerConversion
|
256
|
-
attr_accessor :conversionsManyPerClick
|
257
|
-
attr_accessor :conversionRateManyPerClick
|
258
|
-
attr_accessor :costPerConversionManyPerClick
|
259
|
-
attr_accessor :stats_Type
|
163
|
+
# AdGroupCriterionSelector
|
164
|
+
# - idFilters - AdwordsApi::V200909::AdGroupCriterionService::AdGroupCriterionIdFilter
|
165
|
+
# - criterionUse - AdwordsApi::V200909::AdGroupCriterionService::CriterionUse
|
166
|
+
# - userStatuses - AdwordsApi::V200909::AdGroupCriterionService::UserStatus
|
167
|
+
# - statsSelector - AdwordsApi::V200909::AdGroupCriterionService::StatsSelector
|
168
|
+
# - paging - AdwordsApi::V200909::AdGroupCriterionService::Paging
|
169
|
+
class AdGroupCriterionSelector
|
170
|
+
attr_accessor :idFilters
|
171
|
+
attr_accessor :criterionUse
|
172
|
+
attr_accessor :userStatuses
|
173
|
+
attr_accessor :statsSelector
|
174
|
+
attr_accessor :paging
|
260
175
|
|
261
|
-
def initialize(
|
262
|
-
@
|
263
|
-
@
|
264
|
-
@
|
265
|
-
@
|
266
|
-
@
|
267
|
-
@cost = cost
|
268
|
-
@averagePosition = averagePosition
|
269
|
-
@averageCpc = averageCpc
|
270
|
-
@averageCpm = averageCpm
|
271
|
-
@ctr = ctr
|
272
|
-
@conversions = conversions
|
273
|
-
@conversionRate = conversionRate
|
274
|
-
@costPerConversion = costPerConversion
|
275
|
-
@conversionsManyPerClick = conversionsManyPerClick
|
276
|
-
@conversionRateManyPerClick = conversionRateManyPerClick
|
277
|
-
@costPerConversionManyPerClick = costPerConversionManyPerClick
|
278
|
-
@stats_Type = stats_Type
|
176
|
+
def initialize(idFilters = [], criterionUse = nil, userStatuses = [], statsSelector = nil, paging = nil)
|
177
|
+
@idFilters = idFilters
|
178
|
+
@criterionUse = criterionUse
|
179
|
+
@userStatuses = userStatuses
|
180
|
+
@statsSelector = statsSelector
|
181
|
+
@paging = paging
|
279
182
|
end
|
280
183
|
end
|
281
184
|
|
@@ -391,6 +294,25 @@ class ClientTermsError < ApiError
|
|
391
294
|
end
|
392
295
|
end
|
393
296
|
|
297
|
+
# DatabaseError
|
298
|
+
# - fieldPath - SOAP::SOAPString
|
299
|
+
# - trigger - SOAP::SOAPString
|
300
|
+
# - apiError_Type - SOAP::SOAPString
|
301
|
+
# - reason - AdwordsApi::V200909::AdGroupCriterionService::DatabaseErrorReason
|
302
|
+
class DatabaseError < ApiError
|
303
|
+
attr_accessor :fieldPath
|
304
|
+
attr_accessor :trigger
|
305
|
+
attr_accessor :apiError_Type
|
306
|
+
attr_accessor :reason
|
307
|
+
|
308
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
309
|
+
@fieldPath = fieldPath
|
310
|
+
@trigger = trigger
|
311
|
+
@apiError_Type = apiError_Type
|
312
|
+
@reason = reason
|
313
|
+
end
|
314
|
+
end
|
315
|
+
|
394
316
|
# DateError
|
395
317
|
# - fieldPath - SOAP::SOAPString
|
396
318
|
# - trigger - SOAP::SOAPString
|
@@ -653,69 +575,80 @@ class PagingError < ApiError
|
|
653
575
|
end
|
654
576
|
end
|
655
577
|
|
656
|
-
#
|
657
|
-
# - fieldPath - SOAP::SOAPString
|
658
|
-
# - trigger - SOAP::SOAPString
|
659
|
-
# - apiError_Type - SOAP::SOAPString
|
660
|
-
# - reason - AdwordsApi::V200909::AdGroupCriterionService::QuotaCheckErrorReason
|
661
|
-
class QuotaCheckError < ApiError
|
662
|
-
attr_accessor :fieldPath
|
663
|
-
attr_accessor :trigger
|
664
|
-
attr_accessor :apiError_Type
|
665
|
-
attr_accessor :reason
|
666
|
-
|
667
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
668
|
-
@fieldPath = fieldPath
|
669
|
-
@trigger = trigger
|
670
|
-
@apiError_Type = apiError_Type
|
671
|
-
@reason = reason
|
672
|
-
end
|
673
|
-
end
|
674
|
-
|
675
|
-
# QuotaExceededError
|
578
|
+
# PolicyViolationError
|
676
579
|
# - fieldPath - SOAP::SOAPString
|
677
580
|
# - trigger - SOAP::SOAPString
|
678
581
|
# - apiError_Type - SOAP::SOAPString
|
679
|
-
# -
|
680
|
-
|
582
|
+
# - key - AdwordsApi::V200909::AdGroupCriterionService::PolicyViolationKey
|
583
|
+
# - externalPolicyName - SOAP::SOAPString
|
584
|
+
# - externalPolicyUrl - SOAP::SOAPString
|
585
|
+
# - externalPolicyDescription - SOAP::SOAPString
|
586
|
+
# - isExemptable - SOAP::SOAPBoolean
|
587
|
+
# - violatingParts - AdwordsApi::V200909::AdGroupCriterionService::PolicyViolationErrorPart
|
588
|
+
class PolicyViolationError < ApiError
|
681
589
|
attr_accessor :fieldPath
|
682
590
|
attr_accessor :trigger
|
683
591
|
attr_accessor :apiError_Type
|
684
|
-
attr_accessor :
|
592
|
+
attr_accessor :key
|
593
|
+
attr_accessor :externalPolicyName
|
594
|
+
attr_accessor :externalPolicyUrl
|
595
|
+
attr_accessor :externalPolicyDescription
|
596
|
+
attr_accessor :isExemptable
|
597
|
+
attr_accessor :violatingParts
|
685
598
|
|
686
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil,
|
599
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
|
687
600
|
@fieldPath = fieldPath
|
688
601
|
@trigger = trigger
|
689
602
|
@apiError_Type = apiError_Type
|
690
|
-
@
|
603
|
+
@key = key
|
604
|
+
@externalPolicyName = externalPolicyName
|
605
|
+
@externalPolicyUrl = externalPolicyUrl
|
606
|
+
@externalPolicyDescription = externalPolicyDescription
|
607
|
+
@isExemptable = isExemptable
|
608
|
+
@violatingParts = violatingParts
|
691
609
|
end
|
692
610
|
end
|
693
611
|
|
694
|
-
#
|
612
|
+
# CriterionPolicyError
|
695
613
|
# - fieldPath - SOAP::SOAPString
|
696
614
|
# - trigger - SOAP::SOAPString
|
697
615
|
# - apiError_Type - SOAP::SOAPString
|
698
|
-
# -
|
699
|
-
|
616
|
+
# - key - AdwordsApi::V200909::AdGroupCriterionService::PolicyViolationKey
|
617
|
+
# - externalPolicyName - SOAP::SOAPString
|
618
|
+
# - externalPolicyUrl - SOAP::SOAPString
|
619
|
+
# - externalPolicyDescription - SOAP::SOAPString
|
620
|
+
# - isExemptable - SOAP::SOAPBoolean
|
621
|
+
# - violatingParts - AdwordsApi::V200909::AdGroupCriterionService::PolicyViolationErrorPart
|
622
|
+
class CriterionPolicyError < PolicyViolationError
|
700
623
|
attr_accessor :fieldPath
|
701
624
|
attr_accessor :trigger
|
702
625
|
attr_accessor :apiError_Type
|
703
|
-
attr_accessor :
|
626
|
+
attr_accessor :key
|
627
|
+
attr_accessor :externalPolicyName
|
628
|
+
attr_accessor :externalPolicyUrl
|
629
|
+
attr_accessor :externalPolicyDescription
|
630
|
+
attr_accessor :isExemptable
|
631
|
+
attr_accessor :violatingParts
|
704
632
|
|
705
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil,
|
633
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
|
706
634
|
@fieldPath = fieldPath
|
707
635
|
@trigger = trigger
|
708
636
|
@apiError_Type = apiError_Type
|
709
|
-
@
|
637
|
+
@key = key
|
638
|
+
@externalPolicyName = externalPolicyName
|
639
|
+
@externalPolicyUrl = externalPolicyUrl
|
640
|
+
@externalPolicyDescription = externalPolicyDescription
|
641
|
+
@isExemptable = isExemptable
|
642
|
+
@violatingParts = violatingParts
|
710
643
|
end
|
711
644
|
end
|
712
645
|
|
713
|
-
#
|
646
|
+
# QuotaCheckError
|
714
647
|
# - fieldPath - SOAP::SOAPString
|
715
648
|
# - trigger - SOAP::SOAPString
|
716
649
|
# - apiError_Type - SOAP::SOAPString
|
717
|
-
# - reason - AdwordsApi::V200909::AdGroupCriterionService::
|
718
|
-
class
|
650
|
+
# - reason - AdwordsApi::V200909::AdGroupCriterionService::QuotaCheckErrorReason
|
651
|
+
class QuotaCheckError < ApiError
|
719
652
|
attr_accessor :fieldPath
|
720
653
|
attr_accessor :trigger
|
721
654
|
attr_accessor :apiError_Type
|
@@ -729,12 +662,12 @@ class ReadOnlyError < ApiError
|
|
729
662
|
end
|
730
663
|
end
|
731
664
|
|
732
|
-
#
|
665
|
+
# QuotaExceededError
|
733
666
|
# - fieldPath - SOAP::SOAPString
|
734
667
|
# - trigger - SOAP::SOAPString
|
735
668
|
# - apiError_Type - SOAP::SOAPString
|
736
|
-
# - reason - AdwordsApi::V200909::AdGroupCriterionService::
|
737
|
-
class
|
669
|
+
# - reason - AdwordsApi::V200909::AdGroupCriterionService::QuotaExceededErrorReason
|
670
|
+
class QuotaExceededError < ApiError
|
738
671
|
attr_accessor :fieldPath
|
739
672
|
attr_accessor :trigger
|
740
673
|
attr_accessor :apiError_Type
|
@@ -748,12 +681,12 @@ class RequiredError < ApiError
|
|
748
681
|
end
|
749
682
|
end
|
750
683
|
|
751
|
-
#
|
684
|
+
# RangeError
|
752
685
|
# - fieldPath - SOAP::SOAPString
|
753
686
|
# - trigger - SOAP::SOAPString
|
754
687
|
# - apiError_Type - SOAP::SOAPString
|
755
|
-
# - reason - AdwordsApi::V200909::AdGroupCriterionService::
|
756
|
-
class
|
688
|
+
# - reason - AdwordsApi::V200909::AdGroupCriterionService::RangeErrorReason
|
689
|
+
class C_RangeError < ApiError
|
757
690
|
attr_accessor :fieldPath
|
758
691
|
attr_accessor :trigger
|
759
692
|
attr_accessor :apiError_Type
|
@@ -767,12 +700,12 @@ class SizeLimitError < ApiError
|
|
767
700
|
end
|
768
701
|
end
|
769
702
|
|
770
|
-
#
|
703
|
+
# ReadOnlyError
|
771
704
|
# - fieldPath - SOAP::SOAPString
|
772
705
|
# - trigger - SOAP::SOAPString
|
773
706
|
# - apiError_Type - SOAP::SOAPString
|
774
|
-
# - reason - AdwordsApi::V200909::AdGroupCriterionService::
|
775
|
-
class
|
707
|
+
# - reason - AdwordsApi::V200909::AdGroupCriterionService::ReadOnlyErrorReason
|
708
|
+
class ReadOnlyError < ApiError
|
776
709
|
attr_accessor :fieldPath
|
777
710
|
attr_accessor :trigger
|
778
711
|
attr_accessor :apiError_Type
|
@@ -786,12 +719,12 @@ class StatsQueryError < ApiError
|
|
786
719
|
end
|
787
720
|
end
|
788
721
|
|
789
|
-
#
|
722
|
+
# RequiredError
|
790
723
|
# - fieldPath - SOAP::SOAPString
|
791
724
|
# - trigger - SOAP::SOAPString
|
792
725
|
# - apiError_Type - SOAP::SOAPString
|
793
|
-
# - reason - AdwordsApi::V200909::AdGroupCriterionService::
|
794
|
-
class
|
726
|
+
# - reason - AdwordsApi::V200909::AdGroupCriterionService::RequiredErrorReason
|
727
|
+
class RequiredError < ApiError
|
795
728
|
attr_accessor :fieldPath
|
796
729
|
attr_accessor :trigger
|
797
730
|
attr_accessor :apiError_Type
|
@@ -805,71 +738,41 @@ class DatabaseError < ApiError
|
|
805
738
|
end
|
806
739
|
end
|
807
740
|
|
808
|
-
#
|
741
|
+
# SizeLimitError
|
809
742
|
# - fieldPath - SOAP::SOAPString
|
810
743
|
# - trigger - SOAP::SOAPString
|
811
744
|
# - apiError_Type - SOAP::SOAPString
|
812
|
-
# -
|
813
|
-
|
814
|
-
# - externalPolicyUrl - SOAP::SOAPString
|
815
|
-
# - externalPolicyDescription - SOAP::SOAPString
|
816
|
-
# - isExemptable - SOAP::SOAPBoolean
|
817
|
-
# - violatingParts - AdwordsApi::V200909::AdGroupCriterionService::PolicyViolationErrorPart
|
818
|
-
class PolicyViolationError < ApiError
|
745
|
+
# - reason - AdwordsApi::V200909::AdGroupCriterionService::SizeLimitErrorReason
|
746
|
+
class SizeLimitError < ApiError
|
819
747
|
attr_accessor :fieldPath
|
820
748
|
attr_accessor :trigger
|
821
749
|
attr_accessor :apiError_Type
|
822
|
-
attr_accessor :
|
823
|
-
attr_accessor :externalPolicyName
|
824
|
-
attr_accessor :externalPolicyUrl
|
825
|
-
attr_accessor :externalPolicyDescription
|
826
|
-
attr_accessor :isExemptable
|
827
|
-
attr_accessor :violatingParts
|
750
|
+
attr_accessor :reason
|
828
751
|
|
829
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil,
|
752
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
830
753
|
@fieldPath = fieldPath
|
831
754
|
@trigger = trigger
|
832
755
|
@apiError_Type = apiError_Type
|
833
|
-
@
|
834
|
-
@externalPolicyName = externalPolicyName
|
835
|
-
@externalPolicyUrl = externalPolicyUrl
|
836
|
-
@externalPolicyDescription = externalPolicyDescription
|
837
|
-
@isExemptable = isExemptable
|
838
|
-
@violatingParts = violatingParts
|
756
|
+
@reason = reason
|
839
757
|
end
|
840
758
|
end
|
841
759
|
|
842
|
-
#
|
760
|
+
# StatsQueryError
|
843
761
|
# - fieldPath - SOAP::SOAPString
|
844
762
|
# - trigger - SOAP::SOAPString
|
845
763
|
# - apiError_Type - SOAP::SOAPString
|
846
|
-
# -
|
847
|
-
|
848
|
-
# - externalPolicyUrl - SOAP::SOAPString
|
849
|
-
# - externalPolicyDescription - SOAP::SOAPString
|
850
|
-
# - isExemptable - SOAP::SOAPBoolean
|
851
|
-
# - violatingParts - AdwordsApi::V200909::AdGroupCriterionService::PolicyViolationErrorPart
|
852
|
-
class CriterionPolicyError < PolicyViolationError
|
764
|
+
# - reason - AdwordsApi::V200909::AdGroupCriterionService::StatsQueryErrorReason
|
765
|
+
class StatsQueryError < ApiError
|
853
766
|
attr_accessor :fieldPath
|
854
767
|
attr_accessor :trigger
|
855
768
|
attr_accessor :apiError_Type
|
856
|
-
attr_accessor :
|
857
|
-
attr_accessor :externalPolicyName
|
858
|
-
attr_accessor :externalPolicyUrl
|
859
|
-
attr_accessor :externalPolicyDescription
|
860
|
-
attr_accessor :isExemptable
|
861
|
-
attr_accessor :violatingParts
|
769
|
+
attr_accessor :reason
|
862
770
|
|
863
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil,
|
771
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
864
772
|
@fieldPath = fieldPath
|
865
773
|
@trigger = trigger
|
866
774
|
@apiError_Type = apiError_Type
|
867
|
-
@
|
868
|
-
@externalPolicyName = externalPolicyName
|
869
|
-
@externalPolicyUrl = externalPolicyUrl
|
870
|
-
@externalPolicyDescription = externalPolicyDescription
|
871
|
-
@isExemptable = isExemptable
|
872
|
-
@violatingParts = violatingParts
|
775
|
+
@reason = reason
|
873
776
|
end
|
874
777
|
end
|
875
778
|
|
@@ -912,19 +815,64 @@ class Bid
|
|
912
815
|
end
|
913
816
|
end
|
914
817
|
|
915
|
-
#
|
916
|
-
#
|
917
|
-
# -
|
918
|
-
|
919
|
-
|
920
|
-
attr_accessor :proxyMaxCpc
|
921
|
-
attr_accessor :preferredPosition
|
922
|
-
attr_accessor :bottomPosition
|
818
|
+
# ComparableValue
|
819
|
+
# abstract
|
820
|
+
# - comparableValue_Type - SOAP::SOAPString
|
821
|
+
class ComparableValue
|
822
|
+
attr_accessor :comparableValue_Type
|
923
823
|
|
924
|
-
def initialize(
|
925
|
-
@
|
926
|
-
|
927
|
-
|
824
|
+
def initialize(comparableValue_Type = nil)
|
825
|
+
@comparableValue_Type = comparableValue_Type
|
826
|
+
end
|
827
|
+
end
|
828
|
+
|
829
|
+
# Money
|
830
|
+
# - comparableValue_Type - SOAP::SOAPString
|
831
|
+
# - microAmount - SOAP::SOAPLong
|
832
|
+
class Money < ComparableValue
|
833
|
+
attr_accessor :comparableValue_Type
|
834
|
+
attr_accessor :microAmount
|
835
|
+
|
836
|
+
def initialize(comparableValue_Type = nil, microAmount = nil)
|
837
|
+
@comparableValue_Type = comparableValue_Type
|
838
|
+
@microAmount = microAmount
|
839
|
+
end
|
840
|
+
end
|
841
|
+
|
842
|
+
# NumberValue
|
843
|
+
# abstract
|
844
|
+
# - comparableValue_Type - SOAP::SOAPString
|
845
|
+
class NumberValue < ComparableValue
|
846
|
+
attr_accessor :comparableValue_Type
|
847
|
+
|
848
|
+
def initialize(comparableValue_Type = nil)
|
849
|
+
@comparableValue_Type = comparableValue_Type
|
850
|
+
end
|
851
|
+
end
|
852
|
+
|
853
|
+
# DoubleValue
|
854
|
+
# - comparableValue_Type - SOAP::SOAPString
|
855
|
+
# - number - SOAP::SOAPDouble
|
856
|
+
class DoubleValue < NumberValue
|
857
|
+
attr_accessor :comparableValue_Type
|
858
|
+
attr_accessor :number
|
859
|
+
|
860
|
+
def initialize(comparableValue_Type = nil, number = nil)
|
861
|
+
@comparableValue_Type = comparableValue_Type
|
862
|
+
@number = number
|
863
|
+
end
|
864
|
+
end
|
865
|
+
|
866
|
+
# LongValue
|
867
|
+
# - comparableValue_Type - SOAP::SOAPString
|
868
|
+
# - number - SOAP::SOAPLong
|
869
|
+
class LongValue < NumberValue
|
870
|
+
attr_accessor :comparableValue_Type
|
871
|
+
attr_accessor :number
|
872
|
+
|
873
|
+
def initialize(comparableValue_Type = nil, number = nil)
|
874
|
+
@comparableValue_Type = comparableValue_Type
|
875
|
+
@number = number
|
928
876
|
end
|
929
877
|
end
|
930
878
|
|
@@ -957,185 +905,45 @@ class Keyword < Criterion
|
|
957
905
|
@criterion_Type = criterion_Type
|
958
906
|
@text = text
|
959
907
|
@matchType = matchType
|
960
|
-
end
|
961
|
-
end
|
962
|
-
|
963
|
-
# Placement
|
964
|
-
# - id - SOAP::SOAPLong
|
965
|
-
# - criterion_Type - SOAP::SOAPString
|
966
|
-
# - url - SOAP::SOAPString
|
967
|
-
class Placement < Criterion
|
968
|
-
attr_accessor :id
|
969
|
-
attr_accessor :criterion_Type
|
970
|
-
attr_accessor :url
|
971
|
-
|
972
|
-
def initialize(id = nil, criterion_Type = nil, url = nil)
|
973
|
-
@id = id
|
974
|
-
@criterion_Type = criterion_Type
|
975
|
-
@url = url
|
976
|
-
end
|
977
|
-
end
|
978
|
-
|
979
|
-
# AdGroupCriterionBids
|
980
|
-
# abstract
|
981
|
-
# - adGroupCriterionBids_Type - SOAP::SOAPString
|
982
|
-
class AdGroupCriterionBids
|
983
|
-
attr_accessor :adGroupCriterionBids_Type
|
984
|
-
|
985
|
-
def initialize(adGroupCriterionBids_Type = nil)
|
986
|
-
@adGroupCriterionBids_Type = adGroupCriterionBids_Type
|
987
|
-
end
|
988
|
-
end
|
989
|
-
|
990
|
-
# ConversionOptimizerAdGroupCriterionBids
|
991
|
-
# - adGroupCriterionBids_Type - SOAP::SOAPString
|
992
|
-
class ConversionOptimizerAdGroupCriterionBids < AdGroupCriterionBids
|
993
|
-
attr_accessor :adGroupCriterionBids_Type
|
994
|
-
|
995
|
-
def initialize(adGroupCriterionBids_Type = nil)
|
996
|
-
@adGroupCriterionBids_Type = adGroupCriterionBids_Type
|
997
|
-
end
|
998
|
-
end
|
999
|
-
|
1000
|
-
# BudgetOptimizerAdGroupCriterionBids
|
1001
|
-
# - adGroupCriterionBids_Type - SOAP::SOAPString
|
1002
|
-
# - proxyBid - AdwordsApi::V200909::AdGroupCriterionService::Bid
|
1003
|
-
class BudgetOptimizerAdGroupCriterionBids < AdGroupCriterionBids
|
1004
|
-
attr_accessor :adGroupCriterionBids_Type
|
1005
|
-
attr_accessor :proxyBid
|
1006
|
-
|
1007
|
-
def initialize(adGroupCriterionBids_Type = nil, proxyBid = nil)
|
1008
|
-
@adGroupCriterionBids_Type = adGroupCriterionBids_Type
|
1009
|
-
@proxyBid = proxyBid
|
1010
|
-
end
|
1011
|
-
end
|
1012
|
-
|
1013
|
-
# ManualCPMAdGroupCriterionBids
|
1014
|
-
# - adGroupCriterionBids_Type - SOAP::SOAPString
|
1015
|
-
# - maxCpm - AdwordsApi::V200909::AdGroupCriterionService::Bid
|
1016
|
-
# - bidSource - AdwordsApi::V200909::AdGroupCriterionService::BidSource
|
1017
|
-
class ManualCPMAdGroupCriterionBids < AdGroupCriterionBids
|
1018
|
-
attr_accessor :adGroupCriterionBids_Type
|
1019
|
-
attr_accessor :maxCpm
|
1020
|
-
attr_accessor :bidSource
|
1021
|
-
|
1022
|
-
def initialize(adGroupCriterionBids_Type = nil, maxCpm = nil, bidSource = nil)
|
1023
|
-
@adGroupCriterionBids_Type = adGroupCriterionBids_Type
|
1024
|
-
@maxCpm = maxCpm
|
1025
|
-
@bidSource = bidSource
|
1026
|
-
end
|
1027
|
-
end
|
1028
|
-
|
1029
|
-
# ManualCPCAdGroupCriterionBids
|
1030
|
-
# - adGroupCriterionBids_Type - SOAP::SOAPString
|
1031
|
-
# - maxCpc - AdwordsApi::V200909::AdGroupCriterionService::Bid
|
1032
|
-
# - bidSource - AdwordsApi::V200909::AdGroupCriterionService::BidSource
|
1033
|
-
# - positionPreferenceBids - AdwordsApi::V200909::AdGroupCriterionService::PositionPreferenceAdGroupCriterionBids
|
1034
|
-
class ManualCPCAdGroupCriterionBids < AdGroupCriterionBids
|
1035
|
-
attr_accessor :adGroupCriterionBids_Type
|
1036
|
-
attr_accessor :maxCpc
|
1037
|
-
attr_accessor :bidSource
|
1038
|
-
attr_accessor :positionPreferenceBids
|
1039
|
-
|
1040
|
-
def initialize(adGroupCriterionBids_Type = nil, maxCpc = nil, bidSource = nil, positionPreferenceBids = nil)
|
1041
|
-
@adGroupCriterionBids_Type = adGroupCriterionBids_Type
|
1042
|
-
@maxCpc = maxCpc
|
1043
|
-
@bidSource = bidSource
|
1044
|
-
@positionPreferenceBids = positionPreferenceBids
|
1045
|
-
end
|
1046
|
-
end
|
1047
|
-
|
1048
|
-
# AdGroupCriterion
|
1049
|
-
# - adGroupId - SOAP::SOAPLong
|
1050
|
-
# - criterion - AdwordsApi::V200909::AdGroupCriterionService::Criterion
|
1051
|
-
# - adGroupCriterion_Type - SOAP::SOAPString
|
1052
|
-
class AdGroupCriterion
|
1053
|
-
attr_accessor :adGroupId
|
1054
|
-
attr_accessor :criterion
|
1055
|
-
attr_accessor :adGroupCriterion_Type
|
1056
|
-
|
1057
|
-
def initialize(adGroupId = nil, criterion = nil, adGroupCriterion_Type = nil)
|
1058
|
-
@adGroupId = adGroupId
|
1059
|
-
@criterion = criterion
|
1060
|
-
@adGroupCriterion_Type = adGroupCriterion_Type
|
1061
|
-
end
|
1062
|
-
end
|
1063
|
-
|
1064
|
-
# NegativeAdGroupCriterion
|
1065
|
-
# - adGroupId - SOAP::SOAPLong
|
1066
|
-
# - criterion - AdwordsApi::V200909::AdGroupCriterionService::Criterion
|
1067
|
-
# - adGroupCriterion_Type - SOAP::SOAPString
|
1068
|
-
class NegativeAdGroupCriterion < AdGroupCriterion
|
1069
|
-
attr_accessor :adGroupId
|
1070
|
-
attr_accessor :criterion
|
1071
|
-
attr_accessor :adGroupCriterion_Type
|
1072
|
-
|
1073
|
-
def initialize(adGroupId = nil, criterion = nil, adGroupCriterion_Type = nil)
|
1074
|
-
@adGroupId = adGroupId
|
1075
|
-
@criterion = criterion
|
1076
|
-
@adGroupCriterion_Type = adGroupCriterion_Type
|
1077
|
-
end
|
1078
|
-
end
|
1079
|
-
|
1080
|
-
# BiddableAdGroupCriterion
|
1081
|
-
# - adGroupId - SOAP::SOAPLong
|
1082
|
-
# - criterion - AdwordsApi::V200909::AdGroupCriterionService::Criterion
|
1083
|
-
# - adGroupCriterion_Type - SOAP::SOAPString
|
1084
|
-
# - userStatus - AdwordsApi::V200909::AdGroupCriterionService::UserStatus
|
1085
|
-
# - systemServingStatus - AdwordsApi::V200909::AdGroupCriterionService::SystemServingStatus
|
1086
|
-
# - approvalStatus - AdwordsApi::V200909::AdGroupCriterionService::ApprovalStatus
|
1087
|
-
# - destinationUrl - SOAP::SOAPString
|
1088
|
-
# - bids - AdwordsApi::V200909::AdGroupCriterionService::AdGroupCriterionBids
|
1089
|
-
# - firstPageCpc - AdwordsApi::V200909::AdGroupCriterionService::Bid
|
1090
|
-
# - qualityInfo - AdwordsApi::V200909::AdGroupCriterionService::QualityInfo
|
1091
|
-
# - stats - AdwordsApi::V200909::AdGroupCriterionService::Stats
|
1092
|
-
class BiddableAdGroupCriterion < AdGroupCriterion
|
1093
|
-
attr_accessor :adGroupId
|
1094
|
-
attr_accessor :criterion
|
1095
|
-
attr_accessor :adGroupCriterion_Type
|
1096
|
-
attr_accessor :userStatus
|
1097
|
-
attr_accessor :systemServingStatus
|
1098
|
-
attr_accessor :approvalStatus
|
1099
|
-
attr_accessor :destinationUrl
|
1100
|
-
attr_accessor :bids
|
1101
|
-
attr_accessor :firstPageCpc
|
1102
|
-
attr_accessor :qualityInfo
|
1103
|
-
attr_accessor :stats
|
908
|
+
end
|
909
|
+
end
|
1104
910
|
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
@
|
1116
|
-
@
|
911
|
+
# Placement
|
912
|
+
# - id - SOAP::SOAPLong
|
913
|
+
# - criterion_Type - SOAP::SOAPString
|
914
|
+
# - url - SOAP::SOAPString
|
915
|
+
class Placement < Criterion
|
916
|
+
attr_accessor :id
|
917
|
+
attr_accessor :criterion_Type
|
918
|
+
attr_accessor :url
|
919
|
+
|
920
|
+
def initialize(id = nil, criterion_Type = nil, url = nil)
|
921
|
+
@id = id
|
922
|
+
@criterion_Type = criterion_Type
|
923
|
+
@url = url
|
1117
924
|
end
|
1118
925
|
end
|
1119
926
|
|
1120
|
-
#
|
1121
|
-
# -
|
1122
|
-
# -
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
class AdGroupCriterionSelector
|
1127
|
-
attr_accessor :idFilters
|
1128
|
-
attr_accessor :criterionUse
|
1129
|
-
attr_accessor :userStatuses
|
1130
|
-
attr_accessor :statsSelector
|
1131
|
-
attr_accessor :paging
|
927
|
+
# DateRange
|
928
|
+
# - min - SOAP::SOAPString
|
929
|
+
# - max - SOAP::SOAPString
|
930
|
+
class DateRange
|
931
|
+
attr_accessor :min
|
932
|
+
attr_accessor :max
|
1132
933
|
|
1133
|
-
def initialize(
|
1134
|
-
@
|
1135
|
-
@
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
934
|
+
def initialize(min = nil, max = nil)
|
935
|
+
@min = min
|
936
|
+
@max = max
|
937
|
+
end
|
938
|
+
end
|
939
|
+
|
940
|
+
# ExemptionRequest
|
941
|
+
# - key - AdwordsApi::V200909::AdGroupCriterionService::PolicyViolationKey
|
942
|
+
class ExemptionRequest
|
943
|
+
attr_accessor :key
|
944
|
+
|
945
|
+
def initialize(key = nil)
|
946
|
+
@key = key
|
1139
947
|
end
|
1140
948
|
end
|
1141
949
|
|
@@ -1226,6 +1034,198 @@ class AdGroupCriterionPage < Page
|
|
1226
1034
|
end
|
1227
1035
|
end
|
1228
1036
|
|
1037
|
+
# Paging
|
1038
|
+
# - startIndex - SOAP::SOAPInt
|
1039
|
+
# - numberResults - SOAP::SOAPInt
|
1040
|
+
class Paging
|
1041
|
+
attr_accessor :startIndex
|
1042
|
+
attr_accessor :numberResults
|
1043
|
+
|
1044
|
+
def initialize(startIndex = nil, numberResults = nil)
|
1045
|
+
@startIndex = startIndex
|
1046
|
+
@numberResults = numberResults
|
1047
|
+
end
|
1048
|
+
end
|
1049
|
+
|
1050
|
+
# PolicyViolationError.Part
|
1051
|
+
# - index - SOAP::SOAPInt
|
1052
|
+
# - length - SOAP::SOAPInt
|
1053
|
+
class PolicyViolationErrorPart
|
1054
|
+
attr_accessor :index
|
1055
|
+
attr_accessor :length
|
1056
|
+
|
1057
|
+
def initialize(index = nil, length = nil)
|
1058
|
+
@index = index
|
1059
|
+
@length = length
|
1060
|
+
end
|
1061
|
+
end
|
1062
|
+
|
1063
|
+
# PolicyViolationKey
|
1064
|
+
# - policyName - SOAP::SOAPString
|
1065
|
+
# - violatingText - SOAP::SOAPString
|
1066
|
+
class PolicyViolationKey
|
1067
|
+
attr_accessor :policyName
|
1068
|
+
attr_accessor :violatingText
|
1069
|
+
|
1070
|
+
def initialize(policyName = nil, violatingText = nil)
|
1071
|
+
@policyName = policyName
|
1072
|
+
@violatingText = violatingText
|
1073
|
+
end
|
1074
|
+
end
|
1075
|
+
|
1076
|
+
# PositionPreferenceAdGroupCriterionBids
|
1077
|
+
# - proxyMaxCpc - AdwordsApi::V200909::AdGroupCriterionService::Bid
|
1078
|
+
# - preferredPosition - SOAP::SOAPInt
|
1079
|
+
# - bottomPosition - SOAP::SOAPInt
|
1080
|
+
class PositionPreferenceAdGroupCriterionBids
|
1081
|
+
attr_accessor :proxyMaxCpc
|
1082
|
+
attr_accessor :preferredPosition
|
1083
|
+
attr_accessor :bottomPosition
|
1084
|
+
|
1085
|
+
def initialize(proxyMaxCpc = nil, preferredPosition = nil, bottomPosition = nil)
|
1086
|
+
@proxyMaxCpc = proxyMaxCpc
|
1087
|
+
@preferredPosition = preferredPosition
|
1088
|
+
@bottomPosition = bottomPosition
|
1089
|
+
end
|
1090
|
+
end
|
1091
|
+
|
1092
|
+
# QualityInfo
|
1093
|
+
# - isKeywordAdRelevanceAcceptable - SOAP::SOAPBoolean
|
1094
|
+
# - isLandingPageQualityAcceptable - SOAP::SOAPBoolean
|
1095
|
+
# - isLandingPageLatencyAcceptable - SOAP::SOAPBoolean
|
1096
|
+
# - qualityScore - SOAP::SOAPInt
|
1097
|
+
class QualityInfo
|
1098
|
+
attr_accessor :isKeywordAdRelevanceAcceptable
|
1099
|
+
attr_accessor :isLandingPageQualityAcceptable
|
1100
|
+
attr_accessor :isLandingPageLatencyAcceptable
|
1101
|
+
attr_accessor :qualityScore
|
1102
|
+
|
1103
|
+
def initialize(isKeywordAdRelevanceAcceptable = nil, isLandingPageQualityAcceptable = nil, isLandingPageLatencyAcceptable = nil, qualityScore = nil)
|
1104
|
+
@isKeywordAdRelevanceAcceptable = isKeywordAdRelevanceAcceptable
|
1105
|
+
@isLandingPageQualityAcceptable = isLandingPageQualityAcceptable
|
1106
|
+
@isLandingPageLatencyAcceptable = isLandingPageLatencyAcceptable
|
1107
|
+
@qualityScore = qualityScore
|
1108
|
+
end
|
1109
|
+
end
|
1110
|
+
|
1111
|
+
# SoapHeader
|
1112
|
+
# - applicationToken - SOAP::SOAPString
|
1113
|
+
# - authToken - SOAP::SOAPString
|
1114
|
+
# - clientCustomerId - SOAP::SOAPString
|
1115
|
+
# - clientEmail - SOAP::SOAPString
|
1116
|
+
# - developerToken - SOAP::SOAPString
|
1117
|
+
# - userAgent - SOAP::SOAPString
|
1118
|
+
# - validateOnly - SOAP::SOAPBoolean
|
1119
|
+
class SoapHeader
|
1120
|
+
attr_accessor :applicationToken
|
1121
|
+
attr_accessor :authToken
|
1122
|
+
attr_accessor :clientCustomerId
|
1123
|
+
attr_accessor :clientEmail
|
1124
|
+
attr_accessor :developerToken
|
1125
|
+
attr_accessor :userAgent
|
1126
|
+
attr_accessor :validateOnly
|
1127
|
+
|
1128
|
+
def initialize(applicationToken = nil, authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil)
|
1129
|
+
@applicationToken = applicationToken
|
1130
|
+
@authToken = authToken
|
1131
|
+
@clientCustomerId = clientCustomerId
|
1132
|
+
@clientEmail = clientEmail
|
1133
|
+
@developerToken = developerToken
|
1134
|
+
@userAgent = userAgent
|
1135
|
+
@validateOnly = validateOnly
|
1136
|
+
end
|
1137
|
+
end
|
1138
|
+
|
1139
|
+
# SoapResponseHeader
|
1140
|
+
# - requestId - SOAP::SOAPString
|
1141
|
+
# - operations - SOAP::SOAPLong
|
1142
|
+
# - responseTime - SOAP::SOAPLong
|
1143
|
+
# - units - SOAP::SOAPLong
|
1144
|
+
class SoapResponseHeader
|
1145
|
+
attr_accessor :requestId
|
1146
|
+
attr_accessor :operations
|
1147
|
+
attr_accessor :responseTime
|
1148
|
+
attr_accessor :units
|
1149
|
+
|
1150
|
+
def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
|
1151
|
+
@requestId = requestId
|
1152
|
+
@operations = operations
|
1153
|
+
@responseTime = responseTime
|
1154
|
+
@units = units
|
1155
|
+
end
|
1156
|
+
end
|
1157
|
+
|
1158
|
+
# Stats
|
1159
|
+
# - startDate - SOAP::SOAPString
|
1160
|
+
# - endDate - SOAP::SOAPString
|
1161
|
+
# - network - AdwordsApi::V200909::AdGroupCriterionService::StatsNetwork
|
1162
|
+
# - clicks - SOAP::SOAPLong
|
1163
|
+
# - impressions - SOAP::SOAPLong
|
1164
|
+
# - cost - AdwordsApi::V200909::AdGroupCriterionService::Money
|
1165
|
+
# - averagePosition - SOAP::SOAPDouble
|
1166
|
+
# - averageCpc - AdwordsApi::V200909::AdGroupCriterionService::Money
|
1167
|
+
# - averageCpm - AdwordsApi::V200909::AdGroupCriterionService::Money
|
1168
|
+
# - ctr - SOAP::SOAPDouble
|
1169
|
+
# - conversions - SOAP::SOAPLong
|
1170
|
+
# - conversionRate - SOAP::SOAPDouble
|
1171
|
+
# - costPerConversion - AdwordsApi::V200909::AdGroupCriterionService::Money
|
1172
|
+
# - conversionsManyPerClick - SOAP::SOAPLong
|
1173
|
+
# - conversionRateManyPerClick - SOAP::SOAPDouble
|
1174
|
+
# - costPerConversionManyPerClick - AdwordsApi::V200909::AdGroupCriterionService::Money
|
1175
|
+
# - stats_Type - SOAP::SOAPString
|
1176
|
+
class Stats
|
1177
|
+
attr_accessor :startDate
|
1178
|
+
attr_accessor :endDate
|
1179
|
+
attr_accessor :network
|
1180
|
+
attr_accessor :clicks
|
1181
|
+
attr_accessor :impressions
|
1182
|
+
attr_accessor :cost
|
1183
|
+
attr_accessor :averagePosition
|
1184
|
+
attr_accessor :averageCpc
|
1185
|
+
attr_accessor :averageCpm
|
1186
|
+
attr_accessor :ctr
|
1187
|
+
attr_accessor :conversions
|
1188
|
+
attr_accessor :conversionRate
|
1189
|
+
attr_accessor :costPerConversion
|
1190
|
+
attr_accessor :conversionsManyPerClick
|
1191
|
+
attr_accessor :conversionRateManyPerClick
|
1192
|
+
attr_accessor :costPerConversionManyPerClick
|
1193
|
+
attr_accessor :stats_Type
|
1194
|
+
|
1195
|
+
def initialize(startDate = nil, endDate = nil, network = nil, clicks = nil, impressions = nil, cost = nil, averagePosition = nil, averageCpc = nil, averageCpm = nil, ctr = nil, conversions = nil, conversionRate = nil, costPerConversion = nil, conversionsManyPerClick = nil, conversionRateManyPerClick = nil, costPerConversionManyPerClick = nil, stats_Type = nil)
|
1196
|
+
@startDate = startDate
|
1197
|
+
@endDate = endDate
|
1198
|
+
@network = network
|
1199
|
+
@clicks = clicks
|
1200
|
+
@impressions = impressions
|
1201
|
+
@cost = cost
|
1202
|
+
@averagePosition = averagePosition
|
1203
|
+
@averageCpc = averageCpc
|
1204
|
+
@averageCpm = averageCpm
|
1205
|
+
@ctr = ctr
|
1206
|
+
@conversions = conversions
|
1207
|
+
@conversionRate = conversionRate
|
1208
|
+
@costPerConversion = costPerConversion
|
1209
|
+
@conversionsManyPerClick = conversionsManyPerClick
|
1210
|
+
@conversionRateManyPerClick = conversionRateManyPerClick
|
1211
|
+
@costPerConversionManyPerClick = costPerConversionManyPerClick
|
1212
|
+
@stats_Type = stats_Type
|
1213
|
+
end
|
1214
|
+
end
|
1215
|
+
|
1216
|
+
# StatsSelector
|
1217
|
+
# - dateRange - AdwordsApi::V200909::AdGroupCriterionService::DateRange
|
1218
|
+
# - statsSelector_Type - SOAP::SOAPString
|
1219
|
+
class StatsSelector
|
1220
|
+
attr_accessor :dateRange
|
1221
|
+
attr_accessor :statsSelector_Type
|
1222
|
+
|
1223
|
+
def initialize(dateRange = nil, statsSelector_Type = nil)
|
1224
|
+
@dateRange = dateRange
|
1225
|
+
@statsSelector_Type = statsSelector_Type
|
1226
|
+
end
|
1227
|
+
end
|
1228
|
+
|
1229
1229
|
# AdGroupCriterionError.Reason
|
1230
1230
|
class AdGroupCriterionErrorReason < ::String
|
1231
1231
|
BID_INCOMPATIBLE_WITH_ADGROUP = AdGroupCriterionErrorReason.new("BID_INCOMPATIBLE_WITH_ADGROUP")
|