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.
Files changed (125) hide show
  1. data/Rakefile +1 -1
  2. data/examples/v201101/add_conversion.rb +97 -0
  3. data/examples/v201101/add_user_list.rb +28 -2
  4. data/examples/v201101/get_all_conversions.rb +88 -0
  5. data/examples/v201101/get_keyword_opportunities.rb +103 -0
  6. data/examples/v201101/update_conversion.rb +96 -0
  7. data/lib/adwords_api/api_config.rb +6 -3
  8. data/lib/adwords_api/errors.rb +4 -1
  9. data/lib/adwords_api/extensions.rb +1 -1
  10. data/lib/adwords_api/v13/AccountServiceDriver.rb +5 -5
  11. data/lib/adwords_api/v13/ReportServiceDriver.rb +7 -7
  12. data/lib/adwords_api/v13/TrafficEstimatorServiceDriver.rb +4 -4
  13. data/lib/adwords_api/v200909/AdExtensionOverrideServiceDriver.rb +2 -2
  14. data/lib/adwords_api/v200909/AdGroupAdServiceDriver.rb +2 -2
  15. data/lib/adwords_api/v200909/AdGroupCriterionService.rb +506 -506
  16. data/lib/adwords_api/v200909/AdGroupCriterionServiceDriver.rb +2 -2
  17. data/lib/adwords_api/v200909/AdGroupCriterionServiceMappingRegistry.rb +428 -428
  18. data/lib/adwords_api/v200909/AdGroupServiceDriver.rb +2 -2
  19. data/lib/adwords_api/v200909/AdParamServiceDriver.rb +2 -2
  20. data/lib/adwords_api/v200909/BulkMutateJobServiceDriver.rb +2 -2
  21. data/lib/adwords_api/v200909/CampaignAdExtensionServiceDriver.rb +2 -2
  22. data/lib/adwords_api/v200909/CampaignCriterionService.rb +133 -133
  23. data/lib/adwords_api/v200909/CampaignCriterionServiceDriver.rb +2 -2
  24. data/lib/adwords_api/v200909/CampaignCriterionServiceMappingRegistry.rb +184 -184
  25. data/lib/adwords_api/v200909/CampaignServiceDriver.rb +2 -2
  26. data/lib/adwords_api/v200909/CampaignTargetServiceDriver.rb +2 -2
  27. data/lib/adwords_api/v200909/GeoLocationServiceDriver.rb +1 -1
  28. data/lib/adwords_api/v200909/InfoServiceDriver.rb +1 -1
  29. data/lib/adwords_api/v200909/TargetingIdeaService.rb +907 -907
  30. data/lib/adwords_api/v200909/TargetingIdeaServiceDriver.rb +2 -2
  31. data/lib/adwords_api/v200909/TargetingIdeaServiceMappingRegistry.rb +384 -384
  32. data/lib/adwords_api/v201003/AdExtensionOverrideServiceDriver.rb +2 -2
  33. data/lib/adwords_api/v201003/AdGroupAdServiceDriver.rb +2 -2
  34. data/lib/adwords_api/v201003/AdGroupCriterionService.rb +527 -527
  35. data/lib/adwords_api/v201003/AdGroupCriterionServiceDriver.rb +2 -2
  36. data/lib/adwords_api/v201003/AdGroupCriterionServiceMappingRegistry.rb +469 -469
  37. data/lib/adwords_api/v201003/AdGroupServiceDriver.rb +2 -2
  38. data/lib/adwords_api/v201003/AdParamServiceDriver.rb +2 -2
  39. data/lib/adwords_api/v201003/BidLandscapeServiceDriver.rb +1 -1
  40. data/lib/adwords_api/v201003/BulkMutateJobServiceDriver.rb +2 -2
  41. data/lib/adwords_api/v201003/CampaignAdExtensionServiceDriver.rb +2 -2
  42. data/lib/adwords_api/v201003/CampaignCriterionService.rb +133 -133
  43. data/lib/adwords_api/v201003/CampaignCriterionServiceDriver.rb +2 -2
  44. data/lib/adwords_api/v201003/CampaignCriterionServiceMappingRegistry.rb +186 -186
  45. data/lib/adwords_api/v201003/CampaignServiceDriver.rb +2 -2
  46. data/lib/adwords_api/v201003/CampaignTargetServiceDriver.rb +2 -2
  47. data/lib/adwords_api/v201003/GeoLocationServiceDriver.rb +1 -1
  48. data/lib/adwords_api/v201003/InfoServiceDriver.rb +1 -1
  49. data/lib/adwords_api/v201003/MediaServiceDriver.rb +2 -2
  50. data/lib/adwords_api/v201003/ReportDefinitionServiceDriver.rb +3 -3
  51. data/lib/adwords_api/v201003/TargetingIdeaService.rb +1304 -1304
  52. data/lib/adwords_api/v201003/TargetingIdeaServiceDriver.rb +2 -2
  53. data/lib/adwords_api/v201003/TargetingIdeaServiceMappingRegistry.rb +401 -401
  54. data/lib/adwords_api/v201008/AdExtensionOverrideServiceDriver.rb +2 -2
  55. data/lib/adwords_api/v201008/AdGroupAdServiceDriver.rb +2 -2
  56. data/lib/adwords_api/v201008/AdGroupCriterionService.rb +598 -598
  57. data/lib/adwords_api/v201008/AdGroupCriterionServiceDriver.rb +2 -2
  58. data/lib/adwords_api/v201008/AdGroupCriterionServiceMappingRegistry.rb +680 -680
  59. data/lib/adwords_api/v201008/AdGroupServiceDriver.rb +2 -2
  60. data/lib/adwords_api/v201008/AdParamServiceDriver.rb +2 -2
  61. data/lib/adwords_api/v201008/AlertServiceDriver.rb +1 -1
  62. data/lib/adwords_api/v201008/BidLandscapeServiceDriver.rb +1 -1
  63. data/lib/adwords_api/v201008/BulkMutateJobServiceDriver.rb +2 -2
  64. data/lib/adwords_api/v201008/CampaignAdExtensionServiceDriver.rb +2 -2
  65. data/lib/adwords_api/v201008/CampaignCriterionService.rb +178 -178
  66. data/lib/adwords_api/v201008/CampaignCriterionServiceDriver.rb +2 -2
  67. data/lib/adwords_api/v201008/CampaignCriterionServiceMappingRegistry.rb +228 -228
  68. data/lib/adwords_api/v201008/CampaignServiceDriver.rb +2 -2
  69. data/lib/adwords_api/v201008/CampaignTargetServiceDriver.rb +2 -2
  70. data/lib/adwords_api/v201008/CustomerSyncServiceDriver.rb +1 -1
  71. data/lib/adwords_api/v201008/ExperimentServiceDriver.rb +2 -2
  72. data/lib/adwords_api/v201008/GeoLocationServiceDriver.rb +1 -1
  73. data/lib/adwords_api/v201008/InfoServiceDriver.rb +1 -1
  74. data/lib/adwords_api/v201008/MediaServiceDriver.rb +2 -2
  75. data/lib/adwords_api/v201008/ReportDefinitionServiceDriver.rb +3 -3
  76. data/lib/adwords_api/v201008/ServicedAccountServiceDriver.rb +1 -1
  77. data/lib/adwords_api/v201008/TargetingIdeaService.rb +1459 -1459
  78. data/lib/adwords_api/v201008/TargetingIdeaServiceDriver.rb +2 -2
  79. data/lib/adwords_api/v201008/TargetingIdeaServiceMappingRegistry.rb +447 -447
  80. data/lib/adwords_api/v201008/TrafficEstimatorService.rb +855 -855
  81. data/lib/adwords_api/v201008/TrafficEstimatorServiceDriver.rb +1 -1
  82. data/lib/adwords_api/v201008/TrafficEstimatorServiceMappingRegistry.rb +126 -126
  83. data/lib/adwords_api/v201008/UserListServiceDriver.rb +2 -2
  84. data/lib/adwords_api/v201101/AdExtensionOverrideServiceDriver.rb +2 -2
  85. data/lib/adwords_api/v201101/AdGroupAdService.rb +2 -0
  86. data/lib/adwords_api/v201101/AdGroupAdServiceDriver.rb +2 -2
  87. data/lib/adwords_api/v201101/AdGroupCriterionService.rb +700 -700
  88. data/lib/adwords_api/v201101/AdGroupCriterionServiceDriver.rb +2 -2
  89. data/lib/adwords_api/v201101/AdGroupCriterionServiceMappingRegistry.rb +670 -670
  90. data/lib/adwords_api/v201101/AdGroupServiceDriver.rb +2 -2
  91. data/lib/adwords_api/v201101/AdParamServiceDriver.rb +2 -2
  92. data/lib/adwords_api/v201101/AlertServiceDriver.rb +1 -1
  93. data/lib/adwords_api/v201101/BulkMutateJobService.rb +2 -0
  94. data/lib/adwords_api/v201101/BulkMutateJobServiceDriver.rb +2 -2
  95. data/lib/adwords_api/v201101/BulkOpportunityService.rb +1367 -0
  96. data/lib/adwords_api/v201101/BulkOpportunityServiceDriver.rb +55 -0
  97. data/lib/adwords_api/v201101/BulkOpportunityServiceMappingRegistry.rb +1668 -0
  98. data/lib/adwords_api/v201101/BulkOpportunityServiceWrapper.rb +303 -0
  99. data/lib/adwords_api/v201101/CampaignAdExtensionServiceDriver.rb +2 -2
  100. data/lib/adwords_api/v201101/CampaignCriterionService.rb +216 -216
  101. data/lib/adwords_api/v201101/CampaignCriterionServiceDriver.rb +2 -2
  102. data/lib/adwords_api/v201101/CampaignCriterionServiceMappingRegistry.rb +234 -234
  103. data/lib/adwords_api/v201101/CampaignServiceDriver.rb +2 -2
  104. data/lib/adwords_api/v201101/CampaignTargetServiceDriver.rb +2 -2
  105. data/lib/adwords_api/v201101/ConversionTrackerService.rb +1105 -0
  106. data/lib/adwords_api/v201101/ConversionTrackerServiceDriver.rb +63 -0
  107. data/lib/adwords_api/v201101/ConversionTrackerServiceMappingRegistry.rb +1161 -0
  108. data/lib/adwords_api/v201101/ConversionTrackerServiceWrapper.rb +332 -0
  109. data/lib/adwords_api/v201101/CustomerSyncServiceDriver.rb +1 -1
  110. data/lib/adwords_api/v201101/DataServiceDriver.rb +2 -2
  111. data/lib/adwords_api/v201101/ExperimentServiceDriver.rb +2 -2
  112. data/lib/adwords_api/v201101/GeoLocationServiceDriver.rb +1 -1
  113. data/lib/adwords_api/v201101/InfoServiceDriver.rb +1 -1
  114. data/lib/adwords_api/v201101/MediaServiceDriver.rb +2 -2
  115. data/lib/adwords_api/v201101/ReportDefinitionServiceDriver.rb +3 -3
  116. data/lib/adwords_api/v201101/ReportDefinitionServiceWrapper.rb +14 -0
  117. data/lib/adwords_api/v201101/ServicedAccountServiceDriver.rb +1 -1
  118. data/lib/adwords_api/v201101/TargetingIdeaService.rb +1490 -1490
  119. data/lib/adwords_api/v201101/TargetingIdeaServiceDriver.rb +2 -2
  120. data/lib/adwords_api/v201101/TargetingIdeaServiceMappingRegistry.rb +507 -507
  121. data/lib/adwords_api/v201101/TrafficEstimatorService.rb +841 -841
  122. data/lib/adwords_api/v201101/TrafficEstimatorServiceDriver.rb +1 -1
  123. data/lib/adwords_api/v201101/TrafficEstimatorServiceMappingRegistry.rb +126 -126
  124. data/lib/adwords_api/v201101/UserListServiceDriver.rb +2 -2
  125. metadata +17 -5
@@ -16,7 +16,7 @@ class AdExtensionOverrideServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201008", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201008::AdExtensionOverrideService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201008::AdExtensionOverrideService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :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/v201008", "mutateResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V201008::AdExtensionOverrideService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V201008::AdExtensionOverrideService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :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/v201008", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201008::AdGroupAdService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201008::AdGroupAdService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :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/v201008", "mutateResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V201008::AdGroupAdService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V201008::AdGroupAdService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :name=>"ApiException"}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -3,314 +3,237 @@ require 'xsd/qname'
3
3
  module AdwordsApi; module V201008; module AdGroupCriterionService
4
4
 
5
5
 
6
- # AdGroupCriterionIdFilter
7
- # - campaignId - SOAP::SOAPLong
6
+ # AdGroupCriterion
8
7
  # - adGroupId - SOAP::SOAPLong
9
- # - criterionId - SOAP::SOAPLong
10
- class AdGroupCriterionIdFilter
11
- attr_accessor :campaignId
8
+ # - criterion - AdwordsApi::V201008::AdGroupCriterionService::Criterion
9
+ # - adGroupCriterion_Type - SOAP::SOAPString
10
+ class AdGroupCriterion
12
11
  attr_accessor :adGroupId
13
- attr_accessor :criterionId
12
+ attr_accessor :criterion
13
+ attr_accessor :adGroupCriterion_Type
14
14
 
15
- def initialize(campaignId = nil, adGroupId = nil, criterionId = nil)
16
- @campaignId = campaignId
15
+ def initialize(adGroupId = nil, criterion = nil, adGroupCriterion_Type = nil)
17
16
  @adGroupId = adGroupId
18
- @criterionId = criterionId
19
- end
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
17
+ @criterion = criterion
18
+ @adGroupCriterion_Type = adGroupCriterion_Type
58
19
  end
59
20
  end
60
21
 
61
- # PolicyViolationKey
62
- # - policyName - SOAP::SOAPString
63
- # - violatingText - SOAP::SOAPString
64
- class PolicyViolationKey
65
- attr_accessor :policyName
66
- attr_accessor :violatingText
22
+ # BiddableAdGroupCriterion
23
+ # - adGroupId - SOAP::SOAPLong
24
+ # - criterion - AdwordsApi::V201008::AdGroupCriterionService::Criterion
25
+ # - adGroupCriterion_Type - SOAP::SOAPString
26
+ # - userStatus - AdwordsApi::V201008::AdGroupCriterionService::UserStatus
27
+ # - systemServingStatus - AdwordsApi::V201008::AdGroupCriterionService::SystemServingStatus
28
+ # - approvalStatus - AdwordsApi::V201008::AdGroupCriterionService::ApprovalStatus
29
+ # - destinationUrl - SOAP::SOAPString
30
+ # - bids - AdwordsApi::V201008::AdGroupCriterionService::AdGroupCriterionBids
31
+ # - experimentData - AdwordsApi::V201008::AdGroupCriterionService::BiddableAdGroupCriterionExperimentData
32
+ # - firstPageCpc - AdwordsApi::V201008::AdGroupCriterionService::Bid
33
+ # - qualityInfo - AdwordsApi::V201008::AdGroupCriterionService::QualityInfo
34
+ # - stats - AdwordsApi::V201008::AdGroupCriterionService::Stats
35
+ class BiddableAdGroupCriterion < AdGroupCriterion
36
+ attr_accessor :adGroupId
37
+ attr_accessor :criterion
38
+ attr_accessor :adGroupCriterion_Type
39
+ attr_accessor :userStatus
40
+ attr_accessor :systemServingStatus
41
+ attr_accessor :approvalStatus
42
+ attr_accessor :destinationUrl
43
+ attr_accessor :bids
44
+ attr_accessor :experimentData
45
+ attr_accessor :firstPageCpc
46
+ attr_accessor :qualityInfo
47
+ attr_accessor :stats
67
48
 
68
- def initialize(policyName = nil, violatingText = nil)
69
- @policyName = policyName
70
- @violatingText = violatingText
49
+ def initialize(adGroupId = nil, criterion = nil, adGroupCriterion_Type = nil, userStatus = nil, systemServingStatus = nil, approvalStatus = nil, destinationUrl = nil, bids = nil, experimentData = nil, firstPageCpc = nil, qualityInfo = nil, stats = nil)
50
+ @adGroupId = adGroupId
51
+ @criterion = criterion
52
+ @adGroupCriterion_Type = adGroupCriterion_Type
53
+ @userStatus = userStatus
54
+ @systemServingStatus = systemServingStatus
55
+ @approvalStatus = approvalStatus
56
+ @destinationUrl = destinationUrl
57
+ @bids = bids
58
+ @experimentData = experimentData
59
+ @firstPageCpc = firstPageCpc
60
+ @qualityInfo = qualityInfo
61
+ @stats = stats
71
62
  end
72
63
  end
73
64
 
74
- # ProductConditionOperand
75
- # - operand - SOAP::SOAPString
76
- class ProductConditionOperand
77
- attr_accessor :operand
65
+ # NegativeAdGroupCriterion
66
+ # - adGroupId - SOAP::SOAPLong
67
+ # - criterion - AdwordsApi::V201008::AdGroupCriterionService::Criterion
68
+ # - adGroupCriterion_Type - SOAP::SOAPString
69
+ class NegativeAdGroupCriterion < AdGroupCriterion
70
+ attr_accessor :adGroupId
71
+ attr_accessor :criterion
72
+ attr_accessor :adGroupCriterion_Type
78
73
 
79
- def initialize(operand = nil)
80
- @operand = operand
74
+ def initialize(adGroupId = nil, criterion = nil, adGroupCriterion_Type = nil)
75
+ @adGroupId = adGroupId
76
+ @criterion = criterion
77
+ @adGroupCriterion_Type = adGroupCriterion_Type
81
78
  end
82
79
  end
83
80
 
84
- # QualityInfo
85
- # - isKeywordAdRelevanceAcceptable - SOAP::SOAPBoolean
86
- # - isLandingPageQualityAcceptable - SOAP::SOAPBoolean
87
- # - isLandingPageLatencyAcceptable - SOAP::SOAPBoolean
88
- # - qualityScore - SOAP::SOAPInt
89
- class QualityInfo
90
- attr_accessor :isKeywordAdRelevanceAcceptable
91
- attr_accessor :isLandingPageQualityAcceptable
92
- attr_accessor :isLandingPageLatencyAcceptable
93
- attr_accessor :qualityScore
81
+ # AdGroupCriterionBids
82
+ # abstract
83
+ # - adGroupCriterionBids_Type - SOAP::SOAPString
84
+ class AdGroupCriterionBids
85
+ attr_accessor :adGroupCriterionBids_Type
94
86
 
95
- def initialize(isKeywordAdRelevanceAcceptable = nil, isLandingPageQualityAcceptable = nil, isLandingPageLatencyAcceptable = nil, qualityScore = nil)
96
- @isKeywordAdRelevanceAcceptable = isKeywordAdRelevanceAcceptable
97
- @isLandingPageQualityAcceptable = isLandingPageQualityAcceptable
98
- @isLandingPageLatencyAcceptable = isLandingPageLatencyAcceptable
99
- @qualityScore = qualityScore
87
+ def initialize(adGroupCriterionBids_Type = nil)
88
+ @adGroupCriterionBids_Type = adGroupCriterionBids_Type
100
89
  end
101
90
  end
102
91
 
103
- # SoapHeader
104
- # - authToken - SOAP::SOAPString
105
- # - clientCustomerId - SOAP::SOAPString
106
- # - clientEmail - SOAP::SOAPString
107
- # - developerToken - SOAP::SOAPString
108
- # - userAgent - SOAP::SOAPString
109
- # - validateOnly - SOAP::SOAPBoolean
110
- # - partialFailure - SOAP::SOAPBoolean
111
- class SoapHeader
112
- attr_accessor :authToken
113
- attr_accessor :clientCustomerId
114
- attr_accessor :clientEmail
115
- attr_accessor :developerToken
116
- attr_accessor :userAgent
117
- attr_accessor :validateOnly
118
- attr_accessor :partialFailure
92
+ # BudgetOptimizerAdGroupCriterionBids
93
+ # - adGroupCriterionBids_Type - SOAP::SOAPString
94
+ # - proxyBid - AdwordsApi::V201008::AdGroupCriterionService::Bid
95
+ # - enhancedCpcEnabled - SOAP::SOAPBoolean
96
+ class BudgetOptimizerAdGroupCriterionBids < AdGroupCriterionBids
97
+ attr_accessor :adGroupCriterionBids_Type
98
+ attr_accessor :proxyBid
99
+ attr_accessor :enhancedCpcEnabled
119
100
 
120
- def initialize(authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil, partialFailure = nil)
121
- @authToken = authToken
122
- @clientCustomerId = clientCustomerId
123
- @clientEmail = clientEmail
124
- @developerToken = developerToken
125
- @userAgent = userAgent
126
- @validateOnly = validateOnly
127
- @partialFailure = partialFailure
101
+ def initialize(adGroupCriterionBids_Type = nil, proxyBid = nil, enhancedCpcEnabled = nil)
102
+ @adGroupCriterionBids_Type = adGroupCriterionBids_Type
103
+ @proxyBid = proxyBid
104
+ @enhancedCpcEnabled = enhancedCpcEnabled
128
105
  end
129
106
  end
130
107
 
131
- # SoapResponseHeader
132
- # - requestId - SOAP::SOAPString
133
- # - operations - SOAP::SOAPLong
134
- # - responseTime - SOAP::SOAPLong
135
- # - units - SOAP::SOAPLong
136
- class SoapResponseHeader
137
- attr_accessor :requestId
138
- attr_accessor :operations
139
- attr_accessor :responseTime
140
- attr_accessor :units
108
+ # ConversionOptimizerAdGroupCriterionBids
109
+ # - adGroupCriterionBids_Type - SOAP::SOAPString
110
+ class ConversionOptimizerAdGroupCriterionBids < AdGroupCriterionBids
111
+ attr_accessor :adGroupCriterionBids_Type
141
112
 
142
- def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
143
- @requestId = requestId
144
- @operations = operations
145
- @responseTime = responseTime
146
- @units = units
113
+ def initialize(adGroupCriterionBids_Type = nil)
114
+ @adGroupCriterionBids_Type = adGroupCriterionBids_Type
147
115
  end
148
116
  end
149
117
 
150
- # StatsSelector
151
- # - dateRange - AdwordsApi::V201008::AdGroupCriterionService::DateRange
152
- # - statsSelector_Type - SOAP::SOAPString
153
- class StatsSelector
154
- attr_accessor :dateRange
155
- attr_accessor :statsSelector_Type
118
+ # ManualCPCAdGroupCriterionBids
119
+ # - adGroupCriterionBids_Type - SOAP::SOAPString
120
+ # - maxCpc - AdwordsApi::V201008::AdGroupCriterionService::Bid
121
+ # - bidSource - AdwordsApi::V201008::AdGroupCriterionService::BidSource
122
+ # - positionPreferenceBids - AdwordsApi::V201008::AdGroupCriterionService::PositionPreferenceAdGroupCriterionBids
123
+ # - enhancedCpcEnabled - SOAP::SOAPBoolean
124
+ class ManualCPCAdGroupCriterionBids < AdGroupCriterionBids
125
+ attr_accessor :adGroupCriterionBids_Type
126
+ attr_accessor :maxCpc
127
+ attr_accessor :bidSource
128
+ attr_accessor :positionPreferenceBids
129
+ attr_accessor :enhancedCpcEnabled
156
130
 
157
- def initialize(dateRange = nil, statsSelector_Type = nil)
158
- @dateRange = dateRange
159
- @statsSelector_Type = statsSelector_Type
131
+ def initialize(adGroupCriterionBids_Type = nil, maxCpc = nil, bidSource = nil, positionPreferenceBids = nil, enhancedCpcEnabled = nil)
132
+ @adGroupCriterionBids_Type = adGroupCriterionBids_Type
133
+ @maxCpc = maxCpc
134
+ @bidSource = bidSource
135
+ @positionPreferenceBids = positionPreferenceBids
136
+ @enhancedCpcEnabled = enhancedCpcEnabled
160
137
  end
161
138
  end
162
139
 
163
- # ComparableValue
164
- # abstract
165
- # - comparableValue_Type - SOAP::SOAPString
166
- class ComparableValue
167
- attr_accessor :comparableValue_Type
140
+ # ManualCPMAdGroupCriterionBids
141
+ # - adGroupCriterionBids_Type - SOAP::SOAPString
142
+ # - maxCpm - AdwordsApi::V201008::AdGroupCriterionService::Bid
143
+ # - bidSource - AdwordsApi::V201008::AdGroupCriterionService::BidSource
144
+ class ManualCPMAdGroupCriterionBids < AdGroupCriterionBids
145
+ attr_accessor :adGroupCriterionBids_Type
146
+ attr_accessor :maxCpm
147
+ attr_accessor :bidSource
168
148
 
169
- def initialize(comparableValue_Type = nil)
170
- @comparableValue_Type = comparableValue_Type
149
+ def initialize(adGroupCriterionBids_Type = nil, maxCpm = nil, bidSource = nil)
150
+ @adGroupCriterionBids_Type = adGroupCriterionBids_Type
151
+ @maxCpm = maxCpm
152
+ @bidSource = bidSource
171
153
  end
172
154
  end
173
155
 
174
- # Money
175
- # - comparableValue_Type - SOAP::SOAPString
176
- # - microAmount - SOAP::SOAPLong
177
- class Money < ComparableValue
178
- attr_accessor :comparableValue_Type
179
- attr_accessor :microAmount
156
+ # PercentCPAAdGroupCriterionBids
157
+ # - adGroupCriterionBids_Type - SOAP::SOAPString
158
+ # - percentCpa - SOAP::SOAPInt
159
+ # - source - AdwordsApi::V201008::AdGroupCriterionService::BidSource
160
+ class PercentCPAAdGroupCriterionBids < AdGroupCriterionBids
161
+ attr_accessor :adGroupCriterionBids_Type
162
+ attr_accessor :percentCpa
163
+ attr_accessor :source
180
164
 
181
- def initialize(comparableValue_Type = nil, microAmount = nil)
182
- @comparableValue_Type = comparableValue_Type
183
- @microAmount = microAmount
165
+ def initialize(adGroupCriterionBids_Type = nil, percentCpa = nil, source = nil)
166
+ @adGroupCriterionBids_Type = adGroupCriterionBids_Type
167
+ @percentCpa = percentCpa
168
+ @source = source
184
169
  end
185
170
  end
186
171
 
187
- # NumberValue
172
+ # AdGroupCriterionExperimentBidMultiplier
188
173
  # abstract
189
- # - comparableValue_Type - SOAP::SOAPString
190
- class NumberValue < ComparableValue
191
- attr_accessor :comparableValue_Type
192
-
193
- def initialize(comparableValue_Type = nil)
194
- @comparableValue_Type = comparableValue_Type
195
- end
196
- end
197
-
198
- # DoubleValue
199
- # - comparableValue_Type - SOAP::SOAPString
200
- # - number - SOAP::SOAPDouble
201
- class DoubleValue < NumberValue
202
- attr_accessor :comparableValue_Type
203
- attr_accessor :number
204
-
205
- def initialize(comparableValue_Type = nil, number = nil)
206
- @comparableValue_Type = comparableValue_Type
207
- @number = number
208
- end
209
- end
210
-
211
- # LongValue
212
- # - comparableValue_Type - SOAP::SOAPString
213
- # - number - SOAP::SOAPLong
214
- class LongValue < NumberValue
215
- attr_accessor :comparableValue_Type
216
- attr_accessor :number
174
+ # - adGroupCriterionExperimentBidMultiplier_Type - SOAP::SOAPString
175
+ class AdGroupCriterionExperimentBidMultiplier
176
+ attr_accessor :adGroupCriterionExperimentBidMultiplier_Type
217
177
 
218
- def initialize(comparableValue_Type = nil, number = nil)
219
- @comparableValue_Type = comparableValue_Type
220
- @number = number
178
+ def initialize(adGroupCriterionExperimentBidMultiplier_Type = nil)
179
+ @adGroupCriterionExperimentBidMultiplier_Type = adGroupCriterionExperimentBidMultiplier_Type
221
180
  end
222
181
  end
223
182
 
224
- # ExemptionRequest
225
- # - key - AdwordsApi::V201008::AdGroupCriterionService::PolicyViolationKey
226
- class ExemptionRequest
227
- attr_accessor :key
183
+ # ManualCPCAdGroupCriterionExperimentBidMultiplier
184
+ # - adGroupCriterionExperimentBidMultiplier_Type - SOAP::SOAPString
185
+ # - maxCpcMultiplier - AdwordsApi::V201008::AdGroupCriterionService::BidMultiplier
186
+ # - multiplierSource - AdwordsApi::V201008::AdGroupCriterionService::MultiplierSource
187
+ class ManualCPCAdGroupCriterionExperimentBidMultiplier < AdGroupCriterionExperimentBidMultiplier
188
+ attr_accessor :adGroupCriterionExperimentBidMultiplier_Type
189
+ attr_accessor :maxCpcMultiplier
190
+ attr_accessor :multiplierSource
228
191
 
229
- def initialize(key = nil)
230
- @key = key
192
+ def initialize(adGroupCriterionExperimentBidMultiplier_Type = nil, maxCpcMultiplier = nil, multiplierSource = nil)
193
+ @adGroupCriterionExperimentBidMultiplier_Type = adGroupCriterionExperimentBidMultiplier_Type
194
+ @maxCpcMultiplier = maxCpcMultiplier
195
+ @multiplierSource = multiplierSource
231
196
  end
232
197
  end
233
198
 
234
- # ProductCondition
235
- # - argument - SOAP::SOAPString
236
- # - operand - AdwordsApi::V201008::AdGroupCriterionService::ProductConditionOperand
237
- class ProductCondition
238
- attr_accessor :argument
239
- attr_accessor :operand
199
+ # AdGroupCriterionIdFilter
200
+ # - campaignId - SOAP::SOAPLong
201
+ # - adGroupId - SOAP::SOAPLong
202
+ # - criterionId - SOAP::SOAPLong
203
+ class AdGroupCriterionIdFilter
204
+ attr_accessor :campaignId
205
+ attr_accessor :adGroupId
206
+ attr_accessor :criterionId
240
207
 
241
- def initialize(argument = nil, operand = nil)
242
- @argument = argument
243
- @operand = operand
208
+ def initialize(campaignId = nil, adGroupId = nil, criterionId = nil)
209
+ @campaignId = campaignId
210
+ @adGroupId = adGroupId
211
+ @criterionId = criterionId
244
212
  end
245
213
  end
246
214
 
247
- # Stats
248
- # - startDate - SOAP::SOAPString
249
- # - endDate - SOAP::SOAPString
250
- # - network - AdwordsApi::V201008::AdGroupCriterionService::StatsNetwork
251
- # - clicks - SOAP::SOAPLong
252
- # - impressions - SOAP::SOAPLong
253
- # - cost - AdwordsApi::V201008::AdGroupCriterionService::Money
254
- # - averagePosition - SOAP::SOAPDouble
255
- # - averageCpc - AdwordsApi::V201008::AdGroupCriterionService::Money
256
- # - averageCpm - AdwordsApi::V201008::AdGroupCriterionService::Money
257
- # - ctr - SOAP::SOAPDouble
258
- # - conversions - SOAP::SOAPLong
259
- # - conversionRate - SOAP::SOAPDouble
260
- # - costPerConversion - AdwordsApi::V201008::AdGroupCriterionService::Money
261
- # - conversionsManyPerClick - SOAP::SOAPLong
262
- # - conversionRateManyPerClick - SOAP::SOAPDouble
263
- # - costPerConversionManyPerClick - AdwordsApi::V201008::AdGroupCriterionService::Money
264
- # - viewThroughConversions - SOAP::SOAPLong
265
- # - totalConvValue - SOAP::SOAPLong
266
- # - valuePerConv - SOAP::SOAPDouble
267
- # - valuePerConvManyPerClick - SOAP::SOAPDouble
268
- # - stats_Type - SOAP::SOAPString
269
- class Stats
270
- attr_accessor :startDate
271
- attr_accessor :endDate
272
- attr_accessor :network
273
- attr_accessor :clicks
274
- attr_accessor :impressions
275
- attr_accessor :cost
276
- attr_accessor :averagePosition
277
- attr_accessor :averageCpc
278
- attr_accessor :averageCpm
279
- attr_accessor :ctr
280
- attr_accessor :conversions
281
- attr_accessor :conversionRate
282
- attr_accessor :costPerConversion
283
- attr_accessor :conversionsManyPerClick
284
- attr_accessor :conversionRateManyPerClick
285
- attr_accessor :costPerConversionManyPerClick
286
- attr_accessor :viewThroughConversions
287
- attr_accessor :totalConvValue
288
- attr_accessor :valuePerConv
289
- attr_accessor :valuePerConvManyPerClick
290
- attr_accessor :stats_Type
215
+ # AdGroupCriterionSelector
216
+ # - idFilters - AdwordsApi::V201008::AdGroupCriterionService::AdGroupCriterionIdFilter
217
+ # - experimentId - SOAP::SOAPLong
218
+ # - criterionUse - AdwordsApi::V201008::AdGroupCriterionService::CriterionUse
219
+ # - userStatuses - AdwordsApi::V201008::AdGroupCriterionService::UserStatus
220
+ # - statsSelector - AdwordsApi::V201008::AdGroupCriterionService::StatsSelector
221
+ # - paging - AdwordsApi::V201008::AdGroupCriterionService::Paging
222
+ class AdGroupCriterionSelector
223
+ attr_accessor :idFilters
224
+ attr_accessor :experimentId
225
+ attr_accessor :criterionUse
226
+ attr_accessor :userStatuses
227
+ attr_accessor :statsSelector
228
+ attr_accessor :paging
291
229
 
292
- 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, viewThroughConversions = nil, totalConvValue = nil, valuePerConv = nil, valuePerConvManyPerClick = nil, stats_Type = nil)
293
- @startDate = startDate
294
- @endDate = endDate
295
- @network = network
296
- @clicks = clicks
297
- @impressions = impressions
298
- @cost = cost
299
- @averagePosition = averagePosition
300
- @averageCpc = averageCpc
301
- @averageCpm = averageCpm
302
- @ctr = ctr
303
- @conversions = conversions
304
- @conversionRate = conversionRate
305
- @costPerConversion = costPerConversion
306
- @conversionsManyPerClick = conversionsManyPerClick
307
- @conversionRateManyPerClick = conversionRateManyPerClick
308
- @costPerConversionManyPerClick = costPerConversionManyPerClick
309
- @viewThroughConversions = viewThroughConversions
310
- @totalConvValue = totalConvValue
311
- @valuePerConv = valuePerConv
312
- @valuePerConvManyPerClick = valuePerConvManyPerClick
313
- @stats_Type = stats_Type
230
+ def initialize(idFilters = [], experimentId = nil, criterionUse = nil, userStatuses = [], statsSelector = nil, paging = nil)
231
+ @idFilters = idFilters
232
+ @experimentId = experimentId
233
+ @criterionUse = criterionUse
234
+ @userStatuses = userStatuses
235
+ @statsSelector = statsSelector
236
+ @paging = paging
314
237
  end
315
238
  end
316
239
 
@@ -444,6 +367,28 @@ class ClientTermsError < ApiError
444
367
  end
445
368
  end
446
369
 
370
+ # DatabaseError
371
+ # - fieldPath - SOAP::SOAPString
372
+ # - trigger - SOAP::SOAPString
373
+ # - errorString - SOAP::SOAPString
374
+ # - apiError_Type - SOAP::SOAPString
375
+ # - reason - AdwordsApi::V201008::AdGroupCriterionService::DatabaseErrorReason
376
+ class DatabaseError < ApiError
377
+ attr_accessor :fieldPath
378
+ attr_accessor :trigger
379
+ attr_accessor :errorString
380
+ attr_accessor :apiError_Type
381
+ attr_accessor :reason
382
+
383
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
384
+ @fieldPath = fieldPath
385
+ @trigger = trigger
386
+ @errorString = errorString
387
+ @apiError_Type = apiError_Type
388
+ @reason = reason
389
+ end
390
+ end
391
+
447
392
  # DateError
448
393
  # - fieldPath - SOAP::SOAPString
449
394
  # - trigger - SOAP::SOAPString
@@ -745,6 +690,80 @@ class PagingError < ApiError
745
690
  end
746
691
  end
747
692
 
693
+ # PolicyViolationError
694
+ # - fieldPath - SOAP::SOAPString
695
+ # - trigger - SOAP::SOAPString
696
+ # - errorString - SOAP::SOAPString
697
+ # - apiError_Type - SOAP::SOAPString
698
+ # - key - AdwordsApi::V201008::AdGroupCriterionService::PolicyViolationKey
699
+ # - externalPolicyName - SOAP::SOAPString
700
+ # - externalPolicyUrl - SOAP::SOAPString
701
+ # - externalPolicyDescription - SOAP::SOAPString
702
+ # - isExemptable - SOAP::SOAPBoolean
703
+ # - violatingParts - AdwordsApi::V201008::AdGroupCriterionService::PolicyViolationErrorPart
704
+ class PolicyViolationError < ApiError
705
+ attr_accessor :fieldPath
706
+ attr_accessor :trigger
707
+ attr_accessor :errorString
708
+ attr_accessor :apiError_Type
709
+ attr_accessor :key
710
+ attr_accessor :externalPolicyName
711
+ attr_accessor :externalPolicyUrl
712
+ attr_accessor :externalPolicyDescription
713
+ attr_accessor :isExemptable
714
+ attr_accessor :violatingParts
715
+
716
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
717
+ @fieldPath = fieldPath
718
+ @trigger = trigger
719
+ @errorString = errorString
720
+ @apiError_Type = apiError_Type
721
+ @key = key
722
+ @externalPolicyName = externalPolicyName
723
+ @externalPolicyUrl = externalPolicyUrl
724
+ @externalPolicyDescription = externalPolicyDescription
725
+ @isExemptable = isExemptable
726
+ @violatingParts = violatingParts
727
+ end
728
+ end
729
+
730
+ # CriterionPolicyError
731
+ # - fieldPath - SOAP::SOAPString
732
+ # - trigger - SOAP::SOAPString
733
+ # - errorString - SOAP::SOAPString
734
+ # - apiError_Type - SOAP::SOAPString
735
+ # - key - AdwordsApi::V201008::AdGroupCriterionService::PolicyViolationKey
736
+ # - externalPolicyName - SOAP::SOAPString
737
+ # - externalPolicyUrl - SOAP::SOAPString
738
+ # - externalPolicyDescription - SOAP::SOAPString
739
+ # - isExemptable - SOAP::SOAPBoolean
740
+ # - violatingParts - AdwordsApi::V201008::AdGroupCriterionService::PolicyViolationErrorPart
741
+ class CriterionPolicyError < PolicyViolationError
742
+ attr_accessor :fieldPath
743
+ attr_accessor :trigger
744
+ attr_accessor :errorString
745
+ attr_accessor :apiError_Type
746
+ attr_accessor :key
747
+ attr_accessor :externalPolicyName
748
+ attr_accessor :externalPolicyUrl
749
+ attr_accessor :externalPolicyDescription
750
+ attr_accessor :isExemptable
751
+ attr_accessor :violatingParts
752
+
753
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
754
+ @fieldPath = fieldPath
755
+ @trigger = trigger
756
+ @errorString = errorString
757
+ @apiError_Type = apiError_Type
758
+ @key = key
759
+ @externalPolicyName = externalPolicyName
760
+ @externalPolicyUrl = externalPolicyUrl
761
+ @externalPolicyDescription = externalPolicyDescription
762
+ @isExemptable = isExemptable
763
+ @violatingParts = violatingParts
764
+ end
765
+ end
766
+
748
767
  # QuotaCheckError
749
768
  # - fieldPath - SOAP::SOAPString
750
769
  # - trigger - SOAP::SOAPString
@@ -952,102 +971,6 @@ class StatsQueryError < ApiError
952
971
  end
953
972
  end
954
973
 
955
- # DatabaseError
956
- # - fieldPath - SOAP::SOAPString
957
- # - trigger - SOAP::SOAPString
958
- # - errorString - SOAP::SOAPString
959
- # - apiError_Type - SOAP::SOAPString
960
- # - reason - AdwordsApi::V201008::AdGroupCriterionService::DatabaseErrorReason
961
- class DatabaseError < ApiError
962
- attr_accessor :fieldPath
963
- attr_accessor :trigger
964
- attr_accessor :errorString
965
- attr_accessor :apiError_Type
966
- attr_accessor :reason
967
-
968
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
969
- @fieldPath = fieldPath
970
- @trigger = trigger
971
- @errorString = errorString
972
- @apiError_Type = apiError_Type
973
- @reason = reason
974
- end
975
- end
976
-
977
- # PolicyViolationError
978
- # - fieldPath - SOAP::SOAPString
979
- # - trigger - SOAP::SOAPString
980
- # - errorString - SOAP::SOAPString
981
- # - apiError_Type - SOAP::SOAPString
982
- # - key - AdwordsApi::V201008::AdGroupCriterionService::PolicyViolationKey
983
- # - externalPolicyName - SOAP::SOAPString
984
- # - externalPolicyUrl - SOAP::SOAPString
985
- # - externalPolicyDescription - SOAP::SOAPString
986
- # - isExemptable - SOAP::SOAPBoolean
987
- # - violatingParts - AdwordsApi::V201008::AdGroupCriterionService::PolicyViolationErrorPart
988
- class PolicyViolationError < ApiError
989
- attr_accessor :fieldPath
990
- attr_accessor :trigger
991
- attr_accessor :errorString
992
- attr_accessor :apiError_Type
993
- attr_accessor :key
994
- attr_accessor :externalPolicyName
995
- attr_accessor :externalPolicyUrl
996
- attr_accessor :externalPolicyDescription
997
- attr_accessor :isExemptable
998
- attr_accessor :violatingParts
999
-
1000
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
1001
- @fieldPath = fieldPath
1002
- @trigger = trigger
1003
- @errorString = errorString
1004
- @apiError_Type = apiError_Type
1005
- @key = key
1006
- @externalPolicyName = externalPolicyName
1007
- @externalPolicyUrl = externalPolicyUrl
1008
- @externalPolicyDescription = externalPolicyDescription
1009
- @isExemptable = isExemptable
1010
- @violatingParts = violatingParts
1011
- end
1012
- end
1013
-
1014
- # CriterionPolicyError
1015
- # - fieldPath - SOAP::SOAPString
1016
- # - trigger - SOAP::SOAPString
1017
- # - errorString - SOAP::SOAPString
1018
- # - apiError_Type - SOAP::SOAPString
1019
- # - key - AdwordsApi::V201008::AdGroupCriterionService::PolicyViolationKey
1020
- # - externalPolicyName - SOAP::SOAPString
1021
- # - externalPolicyUrl - SOAP::SOAPString
1022
- # - externalPolicyDescription - SOAP::SOAPString
1023
- # - isExemptable - SOAP::SOAPBoolean
1024
- # - violatingParts - AdwordsApi::V201008::AdGroupCriterionService::PolicyViolationErrorPart
1025
- class CriterionPolicyError < PolicyViolationError
1026
- attr_accessor :fieldPath
1027
- attr_accessor :trigger
1028
- attr_accessor :errorString
1029
- attr_accessor :apiError_Type
1030
- attr_accessor :key
1031
- attr_accessor :externalPolicyName
1032
- attr_accessor :externalPolicyUrl
1033
- attr_accessor :externalPolicyDescription
1034
- attr_accessor :isExemptable
1035
- attr_accessor :violatingParts
1036
-
1037
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
1038
- @fieldPath = fieldPath
1039
- @trigger = trigger
1040
- @errorString = errorString
1041
- @apiError_Type = apiError_Type
1042
- @key = key
1043
- @externalPolicyName = externalPolicyName
1044
- @externalPolicyUrl = externalPolicyUrl
1045
- @externalPolicyDescription = externalPolicyDescription
1046
- @isExemptable = isExemptable
1047
- @violatingParts = violatingParts
1048
- end
1049
- end
1050
-
1051
974
  # ApplicationException
1052
975
  # - message - SOAP::SOAPString
1053
976
  # - applicationException_Type - SOAP::SOAPString
@@ -1100,65 +1023,83 @@ class BidMultiplier
1100
1023
  end
1101
1024
  end
1102
1025
 
1103
- # PositionPreferenceAdGroupCriterionBids
1104
- # - proxyMaxCpc - AdwordsApi::V201008::AdGroupCriterionService::Bid
1105
- # - preferredPosition - SOAP::SOAPInt
1106
- # - bottomPosition - SOAP::SOAPInt
1107
- class PositionPreferenceAdGroupCriterionBids
1108
- attr_accessor :proxyMaxCpc
1109
- attr_accessor :preferredPosition
1110
- attr_accessor :bottomPosition
1026
+ # BiddableAdGroupCriterionExperimentData
1027
+ # - experimentId - SOAP::SOAPLong
1028
+ # - experimentDeltaStatus - AdwordsApi::V201008::AdGroupCriterionService::ExperimentDeltaStatus
1029
+ # - experimentDataStatus - AdwordsApi::V201008::AdGroupCriterionService::ExperimentDataStatus
1030
+ # - experimentBidMultiplier - AdwordsApi::V201008::AdGroupCriterionService::AdGroupCriterionExperimentBidMultiplier
1031
+ class BiddableAdGroupCriterionExperimentData
1032
+ attr_accessor :experimentId
1033
+ attr_accessor :experimentDeltaStatus
1034
+ attr_accessor :experimentDataStatus
1035
+ attr_accessor :experimentBidMultiplier
1111
1036
 
1112
- def initialize(proxyMaxCpc = nil, preferredPosition = nil, bottomPosition = nil)
1113
- @proxyMaxCpc = proxyMaxCpc
1114
- @preferredPosition = preferredPosition
1115
- @bottomPosition = bottomPosition
1037
+ def initialize(experimentId = nil, experimentDeltaStatus = nil, experimentDataStatus = nil, experimentBidMultiplier = nil)
1038
+ @experimentId = experimentId
1039
+ @experimentDeltaStatus = experimentDeltaStatus
1040
+ @experimentDataStatus = experimentDataStatus
1041
+ @experimentBidMultiplier = experimentBidMultiplier
1116
1042
  end
1117
1043
  end
1118
1044
 
1119
- # AdGroupCriterionExperimentBidMultiplier
1045
+ # ComparableValue
1120
1046
  # abstract
1121
- # - adGroupCriterionExperimentBidMultiplier_Type - SOAP::SOAPString
1122
- class AdGroupCriterionExperimentBidMultiplier
1123
- attr_accessor :adGroupCriterionExperimentBidMultiplier_Type
1047
+ # - comparableValue_Type - SOAP::SOAPString
1048
+ class ComparableValue
1049
+ attr_accessor :comparableValue_Type
1050
+
1051
+ def initialize(comparableValue_Type = nil)
1052
+ @comparableValue_Type = comparableValue_Type
1053
+ end
1054
+ end
1055
+
1056
+ # Money
1057
+ # - comparableValue_Type - SOAP::SOAPString
1058
+ # - microAmount - SOAP::SOAPLong
1059
+ class Money < ComparableValue
1060
+ attr_accessor :comparableValue_Type
1061
+ attr_accessor :microAmount
1062
+
1063
+ def initialize(comparableValue_Type = nil, microAmount = nil)
1064
+ @comparableValue_Type = comparableValue_Type
1065
+ @microAmount = microAmount
1066
+ end
1067
+ end
1068
+
1069
+ # NumberValue
1070
+ # abstract
1071
+ # - comparableValue_Type - SOAP::SOAPString
1072
+ class NumberValue < ComparableValue
1073
+ attr_accessor :comparableValue_Type
1124
1074
 
1125
- def initialize(adGroupCriterionExperimentBidMultiplier_Type = nil)
1126
- @adGroupCriterionExperimentBidMultiplier_Type = adGroupCriterionExperimentBidMultiplier_Type
1075
+ def initialize(comparableValue_Type = nil)
1076
+ @comparableValue_Type = comparableValue_Type
1127
1077
  end
1128
1078
  end
1129
1079
 
1130
- # ManualCPCAdGroupCriterionExperimentBidMultiplier
1131
- # - adGroupCriterionExperimentBidMultiplier_Type - SOAP::SOAPString
1132
- # - maxCpcMultiplier - AdwordsApi::V201008::AdGroupCriterionService::BidMultiplier
1133
- # - multiplierSource - AdwordsApi::V201008::AdGroupCriterionService::MultiplierSource
1134
- class ManualCPCAdGroupCriterionExperimentBidMultiplier < AdGroupCriterionExperimentBidMultiplier
1135
- attr_accessor :adGroupCriterionExperimentBidMultiplier_Type
1136
- attr_accessor :maxCpcMultiplier
1137
- attr_accessor :multiplierSource
1080
+ # DoubleValue
1081
+ # - comparableValue_Type - SOAP::SOAPString
1082
+ # - number - SOAP::SOAPDouble
1083
+ class DoubleValue < NumberValue
1084
+ attr_accessor :comparableValue_Type
1085
+ attr_accessor :number
1138
1086
 
1139
- def initialize(adGroupCriterionExperimentBidMultiplier_Type = nil, maxCpcMultiplier = nil, multiplierSource = nil)
1140
- @adGroupCriterionExperimentBidMultiplier_Type = adGroupCriterionExperimentBidMultiplier_Type
1141
- @maxCpcMultiplier = maxCpcMultiplier
1142
- @multiplierSource = multiplierSource
1087
+ def initialize(comparableValue_Type = nil, number = nil)
1088
+ @comparableValue_Type = comparableValue_Type
1089
+ @number = number
1143
1090
  end
1144
1091
  end
1145
1092
 
1146
- # BiddableAdGroupCriterionExperimentData
1147
- # - experimentId - SOAP::SOAPLong
1148
- # - experimentDeltaStatus - AdwordsApi::V201008::AdGroupCriterionService::ExperimentDeltaStatus
1149
- # - experimentDataStatus - AdwordsApi::V201008::AdGroupCriterionService::ExperimentDataStatus
1150
- # - experimentBidMultiplier - AdwordsApi::V201008::AdGroupCriterionService::AdGroupCriterionExperimentBidMultiplier
1151
- class BiddableAdGroupCriterionExperimentData
1152
- attr_accessor :experimentId
1153
- attr_accessor :experimentDeltaStatus
1154
- attr_accessor :experimentDataStatus
1155
- attr_accessor :experimentBidMultiplier
1093
+ # LongValue
1094
+ # - comparableValue_Type - SOAP::SOAPString
1095
+ # - number - SOAP::SOAPLong
1096
+ class LongValue < NumberValue
1097
+ attr_accessor :comparableValue_Type
1098
+ attr_accessor :number
1156
1099
 
1157
- def initialize(experimentId = nil, experimentDeltaStatus = nil, experimentDataStatus = nil, experimentBidMultiplier = nil)
1158
- @experimentId = experimentId
1159
- @experimentDeltaStatus = experimentDeltaStatus
1160
- @experimentDataStatus = experimentDataStatus
1161
- @experimentBidMultiplier = experimentBidMultiplier
1100
+ def initialize(comparableValue_Type = nil, number = nil)
1101
+ @comparableValue_Type = comparableValue_Type
1102
+ @number = number
1162
1103
  end
1163
1104
  end
1164
1105
 
@@ -1210,6 +1151,25 @@ class Placement < Criterion
1210
1151
  end
1211
1152
  end
1212
1153
 
1154
+ # Product
1155
+ # - id - SOAP::SOAPLong
1156
+ # - criterion_Type - SOAP::SOAPString
1157
+ # - conditions - AdwordsApi::V201008::AdGroupCriterionService::ProductCondition
1158
+ # - text - SOAP::SOAPString
1159
+ class Product < Criterion
1160
+ attr_accessor :id
1161
+ attr_accessor :criterion_Type
1162
+ attr_accessor :conditions
1163
+ attr_accessor :text
1164
+
1165
+ def initialize(id = nil, criterion_Type = nil, conditions = [], text = nil)
1166
+ @id = id
1167
+ @criterion_Type = criterion_Type
1168
+ @conditions = conditions
1169
+ @text = text
1170
+ end
1171
+ end
1172
+
1213
1173
  # CriterionUserInterest
1214
1174
  # - id - SOAP::SOAPLong
1215
1175
  # - criterion_Type - SOAP::SOAPString
@@ -1270,213 +1230,26 @@ class Vertical < Criterion
1270
1230
  end
1271
1231
  end
1272
1232
 
1273
- # Product
1274
- # - id - SOAP::SOAPLong
1275
- # - criterion_Type - SOAP::SOAPString
1276
- # - conditions - AdwordsApi::V201008::AdGroupCriterionService::ProductCondition
1277
- # - text - SOAP::SOAPString
1278
- class Product < Criterion
1279
- attr_accessor :id
1280
- attr_accessor :criterion_Type
1281
- attr_accessor :conditions
1282
- attr_accessor :text
1283
-
1284
- def initialize(id = nil, criterion_Type = nil, conditions = [], text = nil)
1285
- @id = id
1286
- @criterion_Type = criterion_Type
1287
- @conditions = conditions
1288
- @text = text
1289
- end
1290
- end
1291
-
1292
- # AdGroupCriterionBids
1293
- # abstract
1294
- # - adGroupCriterionBids_Type - SOAP::SOAPString
1295
- class AdGroupCriterionBids
1296
- attr_accessor :adGroupCriterionBids_Type
1297
-
1298
- def initialize(adGroupCriterionBids_Type = nil)
1299
- @adGroupCriterionBids_Type = adGroupCriterionBids_Type
1300
- end
1301
- end
1302
-
1303
- # ConversionOptimizerAdGroupCriterionBids
1304
- # - adGroupCriterionBids_Type - SOAP::SOAPString
1305
- class ConversionOptimizerAdGroupCriterionBids < AdGroupCriterionBids
1306
- attr_accessor :adGroupCriterionBids_Type
1307
-
1308
- def initialize(adGroupCriterionBids_Type = nil)
1309
- @adGroupCriterionBids_Type = adGroupCriterionBids_Type
1310
- end
1311
- end
1312
-
1313
- # PercentCPAAdGroupCriterionBids
1314
- # - adGroupCriterionBids_Type - SOAP::SOAPString
1315
- # - percentCpa - SOAP::SOAPInt
1316
- # - source - AdwordsApi::V201008::AdGroupCriterionService::BidSource
1317
- class PercentCPAAdGroupCriterionBids < AdGroupCriterionBids
1318
- attr_accessor :adGroupCriterionBids_Type
1319
- attr_accessor :percentCpa
1320
- attr_accessor :source
1321
-
1322
- def initialize(adGroupCriterionBids_Type = nil, percentCpa = nil, source = nil)
1323
- @adGroupCriterionBids_Type = adGroupCriterionBids_Type
1324
- @percentCpa = percentCpa
1325
- @source = source
1326
- end
1327
- end
1328
-
1329
- # BudgetOptimizerAdGroupCriterionBids
1330
- # - adGroupCriterionBids_Type - SOAP::SOAPString
1331
- # - proxyBid - AdwordsApi::V201008::AdGroupCriterionService::Bid
1332
- # - enhancedCpcEnabled - SOAP::SOAPBoolean
1333
- class BudgetOptimizerAdGroupCriterionBids < AdGroupCriterionBids
1334
- attr_accessor :adGroupCriterionBids_Type
1335
- attr_accessor :proxyBid
1336
- attr_accessor :enhancedCpcEnabled
1337
-
1338
- def initialize(adGroupCriterionBids_Type = nil, proxyBid = nil, enhancedCpcEnabled = nil)
1339
- @adGroupCriterionBids_Type = adGroupCriterionBids_Type
1340
- @proxyBid = proxyBid
1341
- @enhancedCpcEnabled = enhancedCpcEnabled
1342
- end
1343
- end
1344
-
1345
- # ManualCPMAdGroupCriterionBids
1346
- # - adGroupCriterionBids_Type - SOAP::SOAPString
1347
- # - maxCpm - AdwordsApi::V201008::AdGroupCriterionService::Bid
1348
- # - bidSource - AdwordsApi::V201008::AdGroupCriterionService::BidSource
1349
- class ManualCPMAdGroupCriterionBids < AdGroupCriterionBids
1350
- attr_accessor :adGroupCriterionBids_Type
1351
- attr_accessor :maxCpm
1352
- attr_accessor :bidSource
1353
-
1354
- def initialize(adGroupCriterionBids_Type = nil, maxCpm = nil, bidSource = nil)
1355
- @adGroupCriterionBids_Type = adGroupCriterionBids_Type
1356
- @maxCpm = maxCpm
1357
- @bidSource = bidSource
1358
- end
1359
- end
1360
-
1361
- # ManualCPCAdGroupCriterionBids
1362
- # - adGroupCriterionBids_Type - SOAP::SOAPString
1363
- # - maxCpc - AdwordsApi::V201008::AdGroupCriterionService::Bid
1364
- # - bidSource - AdwordsApi::V201008::AdGroupCriterionService::BidSource
1365
- # - positionPreferenceBids - AdwordsApi::V201008::AdGroupCriterionService::PositionPreferenceAdGroupCriterionBids
1366
- # - enhancedCpcEnabled - SOAP::SOAPBoolean
1367
- class ManualCPCAdGroupCriterionBids < AdGroupCriterionBids
1368
- attr_accessor :adGroupCriterionBids_Type
1369
- attr_accessor :maxCpc
1370
- attr_accessor :bidSource
1371
- attr_accessor :positionPreferenceBids
1372
- attr_accessor :enhancedCpcEnabled
1373
-
1374
- def initialize(adGroupCriterionBids_Type = nil, maxCpc = nil, bidSource = nil, positionPreferenceBids = nil, enhancedCpcEnabled = nil)
1375
- @adGroupCriterionBids_Type = adGroupCriterionBids_Type
1376
- @maxCpc = maxCpc
1377
- @bidSource = bidSource
1378
- @positionPreferenceBids = positionPreferenceBids
1379
- @enhancedCpcEnabled = enhancedCpcEnabled
1380
- end
1381
- end
1382
-
1383
- # AdGroupCriterion
1384
- # - adGroupId - SOAP::SOAPLong
1385
- # - criterion - AdwordsApi::V201008::AdGroupCriterionService::Criterion
1386
- # - adGroupCriterion_Type - SOAP::SOAPString
1387
- class AdGroupCriterion
1388
- attr_accessor :adGroupId
1389
- attr_accessor :criterion
1390
- attr_accessor :adGroupCriterion_Type
1391
-
1392
- def initialize(adGroupId = nil, criterion = nil, adGroupCriterion_Type = nil)
1393
- @adGroupId = adGroupId
1394
- @criterion = criterion
1395
- @adGroupCriterion_Type = adGroupCriterion_Type
1396
- end
1397
- end
1398
-
1399
- # NegativeAdGroupCriterion
1400
- # - adGroupId - SOAP::SOAPLong
1401
- # - criterion - AdwordsApi::V201008::AdGroupCriterionService::Criterion
1402
- # - adGroupCriterion_Type - SOAP::SOAPString
1403
- class NegativeAdGroupCriterion < AdGroupCriterion
1404
- attr_accessor :adGroupId
1405
- attr_accessor :criterion
1406
- attr_accessor :adGroupCriterion_Type
1407
-
1408
- def initialize(adGroupId = nil, criterion = nil, adGroupCriterion_Type = nil)
1409
- @adGroupId = adGroupId
1410
- @criterion = criterion
1411
- @adGroupCriterion_Type = adGroupCriterion_Type
1412
- end
1413
- end
1414
-
1415
- # BiddableAdGroupCriterion
1416
- # - adGroupId - SOAP::SOAPLong
1417
- # - criterion - AdwordsApi::V201008::AdGroupCriterionService::Criterion
1418
- # - adGroupCriterion_Type - SOAP::SOAPString
1419
- # - userStatus - AdwordsApi::V201008::AdGroupCriterionService::UserStatus
1420
- # - systemServingStatus - AdwordsApi::V201008::AdGroupCriterionService::SystemServingStatus
1421
- # - approvalStatus - AdwordsApi::V201008::AdGroupCriterionService::ApprovalStatus
1422
- # - destinationUrl - SOAP::SOAPString
1423
- # - bids - AdwordsApi::V201008::AdGroupCriterionService::AdGroupCriterionBids
1424
- # - experimentData - AdwordsApi::V201008::AdGroupCriterionService::BiddableAdGroupCriterionExperimentData
1425
- # - firstPageCpc - AdwordsApi::V201008::AdGroupCriterionService::Bid
1426
- # - qualityInfo - AdwordsApi::V201008::AdGroupCriterionService::QualityInfo
1427
- # - stats - AdwordsApi::V201008::AdGroupCriterionService::Stats
1428
- class BiddableAdGroupCriterion < AdGroupCriterion
1429
- attr_accessor :adGroupId
1430
- attr_accessor :criterion
1431
- attr_accessor :adGroupCriterion_Type
1432
- attr_accessor :userStatus
1433
- attr_accessor :systemServingStatus
1434
- attr_accessor :approvalStatus
1435
- attr_accessor :destinationUrl
1436
- attr_accessor :bids
1437
- attr_accessor :experimentData
1438
- attr_accessor :firstPageCpc
1439
- attr_accessor :qualityInfo
1440
- attr_accessor :stats
1233
+ # DateRange
1234
+ # - min - SOAP::SOAPString
1235
+ # - max - SOAP::SOAPString
1236
+ class DateRange
1237
+ attr_accessor :min
1238
+ attr_accessor :max
1441
1239
 
1442
- def initialize(adGroupId = nil, criterion = nil, adGroupCriterion_Type = nil, userStatus = nil, systemServingStatus = nil, approvalStatus = nil, destinationUrl = nil, bids = nil, experimentData = nil, firstPageCpc = nil, qualityInfo = nil, stats = nil)
1443
- @adGroupId = adGroupId
1444
- @criterion = criterion
1445
- @adGroupCriterion_Type = adGroupCriterion_Type
1446
- @userStatus = userStatus
1447
- @systemServingStatus = systemServingStatus
1448
- @approvalStatus = approvalStatus
1449
- @destinationUrl = destinationUrl
1450
- @bids = bids
1451
- @experimentData = experimentData
1452
- @firstPageCpc = firstPageCpc
1453
- @qualityInfo = qualityInfo
1454
- @stats = stats
1240
+ def initialize(min = nil, max = nil)
1241
+ @min = min
1242
+ @max = max
1455
1243
  end
1456
1244
  end
1457
1245
 
1458
- # AdGroupCriterionSelector
1459
- # - idFilters - AdwordsApi::V201008::AdGroupCriterionService::AdGroupCriterionIdFilter
1460
- # - experimentId - SOAP::SOAPLong
1461
- # - criterionUse - AdwordsApi::V201008::AdGroupCriterionService::CriterionUse
1462
- # - userStatuses - AdwordsApi::V201008::AdGroupCriterionService::UserStatus
1463
- # - statsSelector - AdwordsApi::V201008::AdGroupCriterionService::StatsSelector
1464
- # - paging - AdwordsApi::V201008::AdGroupCriterionService::Paging
1465
- class AdGroupCriterionSelector
1466
- attr_accessor :idFilters
1467
- attr_accessor :experimentId
1468
- attr_accessor :criterionUse
1469
- attr_accessor :userStatuses
1470
- attr_accessor :statsSelector
1471
- attr_accessor :paging
1246
+ # ExemptionRequest
1247
+ # - key - AdwordsApi::V201008::AdGroupCriterionService::PolicyViolationKey
1248
+ class ExemptionRequest
1249
+ attr_accessor :key
1472
1250
 
1473
- def initialize(idFilters = [], experimentId = nil, criterionUse = nil, userStatuses = [], statsSelector = nil, paging = nil)
1474
- @idFilters = idFilters
1475
- @experimentId = experimentId
1476
- @criterionUse = criterionUse
1477
- @userStatuses = userStatuses
1478
- @statsSelector = statsSelector
1479
- @paging = paging
1251
+ def initialize(key = nil)
1252
+ @key = key
1480
1253
  end
1481
1254
  end
1482
1255
 
@@ -1570,6 +1343,233 @@ class AdGroupCriterionPage < Page
1570
1343
  end
1571
1344
  end
1572
1345
 
1346
+ # Paging
1347
+ # - startIndex - SOAP::SOAPInt
1348
+ # - numberResults - SOAP::SOAPInt
1349
+ class Paging
1350
+ attr_accessor :startIndex
1351
+ attr_accessor :numberResults
1352
+
1353
+ def initialize(startIndex = nil, numberResults = nil)
1354
+ @startIndex = startIndex
1355
+ @numberResults = numberResults
1356
+ end
1357
+ end
1358
+
1359
+ # PolicyViolationError.Part
1360
+ # - index - SOAP::SOAPInt
1361
+ # - length - SOAP::SOAPInt
1362
+ class PolicyViolationErrorPart
1363
+ attr_accessor :index
1364
+ attr_accessor :length
1365
+
1366
+ def initialize(index = nil, length = nil)
1367
+ @index = index
1368
+ @length = length
1369
+ end
1370
+ end
1371
+
1372
+ # PolicyViolationKey
1373
+ # - policyName - SOAP::SOAPString
1374
+ # - violatingText - SOAP::SOAPString
1375
+ class PolicyViolationKey
1376
+ attr_accessor :policyName
1377
+ attr_accessor :violatingText
1378
+
1379
+ def initialize(policyName = nil, violatingText = nil)
1380
+ @policyName = policyName
1381
+ @violatingText = violatingText
1382
+ end
1383
+ end
1384
+
1385
+ # PositionPreferenceAdGroupCriterionBids
1386
+ # - proxyMaxCpc - AdwordsApi::V201008::AdGroupCriterionService::Bid
1387
+ # - preferredPosition - SOAP::SOAPInt
1388
+ # - bottomPosition - SOAP::SOAPInt
1389
+ class PositionPreferenceAdGroupCriterionBids
1390
+ attr_accessor :proxyMaxCpc
1391
+ attr_accessor :preferredPosition
1392
+ attr_accessor :bottomPosition
1393
+
1394
+ def initialize(proxyMaxCpc = nil, preferredPosition = nil, bottomPosition = nil)
1395
+ @proxyMaxCpc = proxyMaxCpc
1396
+ @preferredPosition = preferredPosition
1397
+ @bottomPosition = bottomPosition
1398
+ end
1399
+ end
1400
+
1401
+ # ProductCondition
1402
+ # - argument - SOAP::SOAPString
1403
+ # - operand - AdwordsApi::V201008::AdGroupCriterionService::ProductConditionOperand
1404
+ class ProductCondition
1405
+ attr_accessor :argument
1406
+ attr_accessor :operand
1407
+
1408
+ def initialize(argument = nil, operand = nil)
1409
+ @argument = argument
1410
+ @operand = operand
1411
+ end
1412
+ end
1413
+
1414
+ # ProductConditionOperand
1415
+ # - operand - SOAP::SOAPString
1416
+ class ProductConditionOperand
1417
+ attr_accessor :operand
1418
+
1419
+ def initialize(operand = nil)
1420
+ @operand = operand
1421
+ end
1422
+ end
1423
+
1424
+ # QualityInfo
1425
+ # - isKeywordAdRelevanceAcceptable - SOAP::SOAPBoolean
1426
+ # - isLandingPageQualityAcceptable - SOAP::SOAPBoolean
1427
+ # - isLandingPageLatencyAcceptable - SOAP::SOAPBoolean
1428
+ # - qualityScore - SOAP::SOAPInt
1429
+ class QualityInfo
1430
+ attr_accessor :isKeywordAdRelevanceAcceptable
1431
+ attr_accessor :isLandingPageQualityAcceptable
1432
+ attr_accessor :isLandingPageLatencyAcceptable
1433
+ attr_accessor :qualityScore
1434
+
1435
+ def initialize(isKeywordAdRelevanceAcceptable = nil, isLandingPageQualityAcceptable = nil, isLandingPageLatencyAcceptable = nil, qualityScore = nil)
1436
+ @isKeywordAdRelevanceAcceptable = isKeywordAdRelevanceAcceptable
1437
+ @isLandingPageQualityAcceptable = isLandingPageQualityAcceptable
1438
+ @isLandingPageLatencyAcceptable = isLandingPageLatencyAcceptable
1439
+ @qualityScore = qualityScore
1440
+ end
1441
+ end
1442
+
1443
+ # SoapHeader
1444
+ # - authToken - SOAP::SOAPString
1445
+ # - clientCustomerId - SOAP::SOAPString
1446
+ # - clientEmail - SOAP::SOAPString
1447
+ # - developerToken - SOAP::SOAPString
1448
+ # - userAgent - SOAP::SOAPString
1449
+ # - validateOnly - SOAP::SOAPBoolean
1450
+ # - partialFailure - SOAP::SOAPBoolean
1451
+ class SoapHeader
1452
+ attr_accessor :authToken
1453
+ attr_accessor :clientCustomerId
1454
+ attr_accessor :clientEmail
1455
+ attr_accessor :developerToken
1456
+ attr_accessor :userAgent
1457
+ attr_accessor :validateOnly
1458
+ attr_accessor :partialFailure
1459
+
1460
+ def initialize(authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil, partialFailure = nil)
1461
+ @authToken = authToken
1462
+ @clientCustomerId = clientCustomerId
1463
+ @clientEmail = clientEmail
1464
+ @developerToken = developerToken
1465
+ @userAgent = userAgent
1466
+ @validateOnly = validateOnly
1467
+ @partialFailure = partialFailure
1468
+ end
1469
+ end
1470
+
1471
+ # SoapResponseHeader
1472
+ # - requestId - SOAP::SOAPString
1473
+ # - operations - SOAP::SOAPLong
1474
+ # - responseTime - SOAP::SOAPLong
1475
+ # - units - SOAP::SOAPLong
1476
+ class SoapResponseHeader
1477
+ attr_accessor :requestId
1478
+ attr_accessor :operations
1479
+ attr_accessor :responseTime
1480
+ attr_accessor :units
1481
+
1482
+ def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
1483
+ @requestId = requestId
1484
+ @operations = operations
1485
+ @responseTime = responseTime
1486
+ @units = units
1487
+ end
1488
+ end
1489
+
1490
+ # Stats
1491
+ # - startDate - SOAP::SOAPString
1492
+ # - endDate - SOAP::SOAPString
1493
+ # - network - AdwordsApi::V201008::AdGroupCriterionService::StatsNetwork
1494
+ # - clicks - SOAP::SOAPLong
1495
+ # - impressions - SOAP::SOAPLong
1496
+ # - cost - AdwordsApi::V201008::AdGroupCriterionService::Money
1497
+ # - averagePosition - SOAP::SOAPDouble
1498
+ # - averageCpc - AdwordsApi::V201008::AdGroupCriterionService::Money
1499
+ # - averageCpm - AdwordsApi::V201008::AdGroupCriterionService::Money
1500
+ # - ctr - SOAP::SOAPDouble
1501
+ # - conversions - SOAP::SOAPLong
1502
+ # - conversionRate - SOAP::SOAPDouble
1503
+ # - costPerConversion - AdwordsApi::V201008::AdGroupCriterionService::Money
1504
+ # - conversionsManyPerClick - SOAP::SOAPLong
1505
+ # - conversionRateManyPerClick - SOAP::SOAPDouble
1506
+ # - costPerConversionManyPerClick - AdwordsApi::V201008::AdGroupCriterionService::Money
1507
+ # - viewThroughConversions - SOAP::SOAPLong
1508
+ # - totalConvValue - SOAP::SOAPLong
1509
+ # - valuePerConv - SOAP::SOAPDouble
1510
+ # - valuePerConvManyPerClick - SOAP::SOAPDouble
1511
+ # - stats_Type - SOAP::SOAPString
1512
+ class Stats
1513
+ attr_accessor :startDate
1514
+ attr_accessor :endDate
1515
+ attr_accessor :network
1516
+ attr_accessor :clicks
1517
+ attr_accessor :impressions
1518
+ attr_accessor :cost
1519
+ attr_accessor :averagePosition
1520
+ attr_accessor :averageCpc
1521
+ attr_accessor :averageCpm
1522
+ attr_accessor :ctr
1523
+ attr_accessor :conversions
1524
+ attr_accessor :conversionRate
1525
+ attr_accessor :costPerConversion
1526
+ attr_accessor :conversionsManyPerClick
1527
+ attr_accessor :conversionRateManyPerClick
1528
+ attr_accessor :costPerConversionManyPerClick
1529
+ attr_accessor :viewThroughConversions
1530
+ attr_accessor :totalConvValue
1531
+ attr_accessor :valuePerConv
1532
+ attr_accessor :valuePerConvManyPerClick
1533
+ attr_accessor :stats_Type
1534
+
1535
+ 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, viewThroughConversions = nil, totalConvValue = nil, valuePerConv = nil, valuePerConvManyPerClick = nil, stats_Type = nil)
1536
+ @startDate = startDate
1537
+ @endDate = endDate
1538
+ @network = network
1539
+ @clicks = clicks
1540
+ @impressions = impressions
1541
+ @cost = cost
1542
+ @averagePosition = averagePosition
1543
+ @averageCpc = averageCpc
1544
+ @averageCpm = averageCpm
1545
+ @ctr = ctr
1546
+ @conversions = conversions
1547
+ @conversionRate = conversionRate
1548
+ @costPerConversion = costPerConversion
1549
+ @conversionsManyPerClick = conversionsManyPerClick
1550
+ @conversionRateManyPerClick = conversionRateManyPerClick
1551
+ @costPerConversionManyPerClick = costPerConversionManyPerClick
1552
+ @viewThroughConversions = viewThroughConversions
1553
+ @totalConvValue = totalConvValue
1554
+ @valuePerConv = valuePerConv
1555
+ @valuePerConvManyPerClick = valuePerConvManyPerClick
1556
+ @stats_Type = stats_Type
1557
+ end
1558
+ end
1559
+
1560
+ # StatsSelector
1561
+ # - dateRange - AdwordsApi::V201008::AdGroupCriterionService::DateRange
1562
+ # - statsSelector_Type - SOAP::SOAPString
1563
+ class StatsSelector
1564
+ attr_accessor :dateRange
1565
+ attr_accessor :statsSelector_Type
1566
+
1567
+ def initialize(dateRange = nil, statsSelector_Type = nil)
1568
+ @dateRange = dateRange
1569
+ @statsSelector_Type = statsSelector_Type
1570
+ end
1571
+ end
1572
+
1573
1573
  # AdGroupCriterionError.Reason
1574
1574
  class AdGroupCriterionErrorReason < ::String
1575
1575
  BID_INCOMPATIBLE_WITH_ADGROUP = AdGroupCriterionErrorReason.new("BID_INCOMPATIBLE_WITH_ADGROUP")