lib/adwords4r/v200909/CampaignAdExtensionService.rb in adwords4r-17.0.1 vs lib/adwords4r/v200909/CampaignAdExtensionService.rb in adwords4r-17.1.0
- old
+ new
@@ -29,10 +29,23 @@
@postalCode = postalCode
@countryCode = countryCode
end
end
+# DateRange
+# - min - SOAP::SOAPString
+# - max - SOAP::SOAPString
+class DateRange
+ attr_accessor :min
+ attr_accessor :max
+
+ def initialize(min = nil, max = nil)
+ @min = min
+ @max = max
+ end
+end
+
# GeoPoint
# - latitudeInMicroDegrees - SOAP::SOAPInt
# - longitudeInMicroDegrees - SOAP::SOAPInt
class GeoPoint
attr_accessor :latitudeInMicroDegrees
@@ -124,10 +137,36 @@
@responseTime = responseTime
@units = units
end
end
+# StatsSelector
+# - dateRange - AdWords::V200909::CampaignAdExtensionService::DateRange
+# - statsSelector_Type - SOAP::SOAPString
+class StatsSelector
+ attr_accessor :dateRange
+ attr_accessor :statsSelector_Type
+
+ def initialize(dateRange = nil, statsSelector_Type = nil)
+ @dateRange = dateRange
+ @statsSelector_Type = statsSelector_Type
+ end
+end
+
+# CampaignAdExtensionStatsSelector
+# - dateRange - AdWords::V200909::CampaignAdExtensionService::DateRange
+# - statsSelector_Type - SOAP::SOAPString
+class CampaignAdExtensionStatsSelector < StatsSelector
+ attr_accessor :dateRange
+ attr_accessor :statsSelector_Type
+
+ def initialize(dateRange = nil, statsSelector_Type = nil)
+ @dateRange = dateRange
+ @statsSelector_Type = statsSelector_Type
+ end
+end
+
# AdExtension
# - id - SOAP::SOAPLong
# - adExtension_Type - SOAP::SOAPString
class AdExtension
attr_accessor :id
@@ -620,19 +659,22 @@
@approvalStatus = approvalStatus
end
end
# CampaignAdExtensionSelector
+# - statsSelector - AdWords::V200909::CampaignAdExtensionService::CampaignAdExtensionStatsSelector
# - campaignIds - SOAP::SOAPLong
# - statuses - AdWords::V200909::CampaignAdExtensionService::CampaignAdExtensionStatus
# - paging - AdWords::V200909::CampaignAdExtensionService::Paging
class CampaignAdExtensionSelector
+ attr_accessor :statsSelector
attr_accessor :campaignIds
attr_accessor :statuses
attr_accessor :paging
- def initialize(campaignIds = [], statuses = [], paging = nil)
+ def initialize(statsSelector = nil, campaignIds = [], statuses = [], paging = nil)
+ @statsSelector = statsSelector
@campaignIds = campaignIds
@statuses = statuses
@paging = paging
end
end
@@ -771,9 +813,14 @@
CLIENT_CUSTOMER_ID_IS_REQUIRED = AuthenticationErrorReason.new("CLIENT_CUSTOMER_ID_IS_REQUIRED")
CLIENT_EMAIL_FAILED_TO_AUTHENTICATE = AuthenticationErrorReason.new("CLIENT_EMAIL_FAILED_TO_AUTHENTICATE")
CLIENT_EMAIL_INVALID = AuthenticationErrorReason.new("CLIENT_EMAIL_INVALID")
CLIENT_EMAIL_REQUIRED = AuthenticationErrorReason.new("CLIENT_EMAIL_REQUIRED")
CUSTOMER_NOT_FOUND = AuthenticationErrorReason.new("CUSTOMER_NOT_FOUND")
+ FAILED_TO_AUTHENTICATE_GOOGLE_ACCOUNT = AuthenticationErrorReason.new("FAILED_TO_AUTHENTICATE_GOOGLE_ACCOUNT")
+ FAILED_TO_RETRIEVE_LOGIN_COOKIE = AuthenticationErrorReason.new("FAILED_TO_RETRIEVE_LOGIN_COOKIE")
+ GOOGLE_ACCOUNT_COOKIE_INVALID = AuthenticationErrorReason.new("GOOGLE_ACCOUNT_COOKIE_INVALID")
+ GOOGLE_ACCOUNT_DELETED = AuthenticationErrorReason.new("GOOGLE_ACCOUNT_DELETED")
+ GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH = AuthenticationErrorReason.new("GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH")
LOGIN_COOKIE_INVALID = AuthenticationErrorReason.new("LOGIN_COOKIE_INVALID")
LOGIN_COOKIE_REQUIRED = AuthenticationErrorReason.new("LOGIN_COOKIE_REQUIRED")
NOT_ADS_USER = AuthenticationErrorReason.new("NOT_ADS_USER")
OAUTH_TOKEN_DISABLED = AuthenticationErrorReason.new("OAUTH_TOKEN_DISABLED")
OAUTH_TOKEN_EXPIRED = AuthenticationErrorReason.new("OAUTH_TOKEN_EXPIRED")