Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCallView
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCallView
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb
Overview
A call view that includes data for call tracking of call-only ads or call extensions.
Instance Attribute Summary collapse
-
#call_duration_seconds ⇒ Fixnum
Output only.
-
#call_status ⇒ String
Output only.
-
#call_tracking_display_location ⇒ String
Output only.
-
#caller_area_code ⇒ String
Output only.
-
#caller_country_code ⇒ String
Output only.
-
#end_call_date_time ⇒ String
Output only.
-
#resource_name ⇒ String
Output only.
-
#start_call_date_time ⇒ String
Output only.
-
#type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesCallView
constructor
A new instance of GoogleAdsSearchads360V23ResourcesCallView.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesCallView
Returns a new instance of GoogleAdsSearchads360V23ResourcesCallView.
23952 23953 23954 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 23952 def initialize(**args) update!(**args) end |
Instance Attribute Details
#call_duration_seconds ⇒ Fixnum
Output only. The advertiser-provided call duration in seconds.
Corresponds to the JSON property callDurationSeconds
23908 23909 23910 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 23908 def call_duration_seconds @call_duration_seconds end |
#call_status ⇒ String
Output only. The status of the call.
Corresponds to the JSON property callStatus
23913 23914 23915 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 23913 def call_status @call_status end |
#call_tracking_display_location ⇒ String
Output only. The call tracking display location.
Corresponds to the JSON property callTrackingDisplayLocation
23918 23919 23920 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 23918 def call_tracking_display_location @call_tracking_display_location end |
#caller_area_code ⇒ String
Output only. Area code of the caller. Null if the call duration is shorter
than 15 seconds.
Corresponds to the JSON property callerAreaCode
23924 23925 23926 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 23924 def caller_area_code @caller_area_code end |
#caller_country_code ⇒ String
Output only. code of the caller.
Corresponds to the JSON property callerCountryCode
23929 23930 23931 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 23929 def caller_country_code @caller_country_code end |
#end_call_date_time ⇒ String
Output only. The advertiser-provided call end date time.
Corresponds to the JSON property endCallDateTime
23934 23935 23936 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 23934 def end_call_date_time @end_call_date_time end |
#resource_name ⇒ String
Output only. The resource name of the call view. Call view resource names have
the form: customers/customer_id/callViews/call_detail_id`
Corresponds to the JSON propertyresourceName`
23940 23941 23942 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 23940 def resource_name @resource_name end |
#start_call_date_time ⇒ String
Output only. The advertiser-provided call start date time.
Corresponds to the JSON property startCallDateTime
23945 23946 23947 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 23945 def start_call_date_time @start_call_date_time end |
#type ⇒ String
Output only. The type of the call.
Corresponds to the JSON property type
23950 23951 23952 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 23950 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
23957 23958 23959 23960 23961 23962 23963 23964 23965 23966 23967 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 23957 def update!(**args) @call_duration_seconds = args[:call_duration_seconds] if args.key?(:call_duration_seconds) @call_status = args[:call_status] if args.key?(:call_status) @call_tracking_display_location = args[:call_tracking_display_location] if args.key?(:call_tracking_display_location) @caller_area_code = args[:caller_area_code] if args.key?(:caller_area_code) @caller_country_code = args[:caller_country_code] if args.key?(:caller_country_code) @end_call_date_time = args[:end_call_date_time] if args.key?(:end_call_date_time) @resource_name = args[:resource_name] if args.key?(:resource_name) @start_call_date_time = args[:start_call_date_time] if args.key?(:start_call_date_time) @type = args[:type] if args.key?(:type) end |