Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupAd
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupAd
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/representations.rb
Overview
An ad group ad.
Instance Attribute Summary collapse
-
#ad ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAd
An ad.
-
#creation_time ⇒ String
Output only.
-
#engine_id ⇒ String
Output only.
-
#engine_status ⇒ String
Output only.
-
#labels ⇒ Array<String>
Output only.
-
#last_modified_time ⇒ String
Output only.
-
#resource_name ⇒ String
Immutable.
-
#status ⇒ String
The status of the ad.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesAdGroupAd
constructor
A new instance of GoogleAdsSearchads360V0ResourcesAdGroupAd.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesAdGroupAd
Returns a new instance of GoogleAdsSearchads360V0ResourcesAdGroupAd.
3870 3871 3872 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3870 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAd
An ad.
Corresponds to the JSON property ad
3825 3826 3827 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3825 def ad @ad end |
#creation_time ⇒ String
Output only. The timestamp when this ad_group_ad was created. The datetime is
in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format.
Corresponds to the JSON property creationTime
3831 3832 3833 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3831 def creation_time @creation_time end |
#engine_id ⇒ String
Output only. ID of the ad in the external engine account. This field is for
SearchAds 360 account only, for example, Yahoo Japan, Microsoft, Baidu etc.
For non-SearchAds 360 entity, use "ad_group_ad.ad.id" instead.
Corresponds to the JSON property engineId
3838 3839 3840 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3838 def engine_id @engine_id end |
#engine_status ⇒ String
Output only. Additional status of the ad in the external engine account.
Possible statuses (depending on the type of external account) include active,
eligible, pending review, etc.
Corresponds to the JSON property engineStatus
3845 3846 3847 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3845 def engine_status @engine_status end |
#labels ⇒ Array<String>
Output only. The resource names of labels attached to this ad group ad.
Corresponds to the JSON property labels
3850 3851 3852 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3850 def labels @labels end |
#last_modified_time ⇒ String
Output only. The datetime when this ad group ad was last modified. The
datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss"
format.
Corresponds to the JSON property lastModifiedTime
3857 3858 3859 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3857 def last_modified_time @last_modified_time end |
#resource_name ⇒ String
Immutable. The resource name of the ad. Ad group ad resource names have the
form: customers/customer_id/adGroupAds/ad_group_id~ad_id`
Corresponds to the JSON propertyresourceName`
3863 3864 3865 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3863 def resource_name @resource_name end |
#status ⇒ String
The status of the ad.
Corresponds to the JSON property status
3868 3869 3870 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3868 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3875 def update!(**args) @ad = args[:ad] if args.key?(:ad) @creation_time = args[:creation_time] if args.key?(:creation_time) @engine_id = args[:engine_id] if args.key?(:engine_id) @engine_status = args[:engine_status] if args.key?(:engine_status) @labels = args[:labels] if args.key?(:labels) @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time) @resource_name = args[:resource_name] if args.key?(:resource_name) @status = args[:status] if args.key?(:status) end |