class Google::Apis::ContentV2_1::Account
Account
data. After the creation of a new account it may take a few minutes before it is fully operational. The methods delete, insert, and update require the admin role.
Attributes
Output only. How the account is managed. Acceptable values are: - “`manual`” - “`automatic`” Corresponds to the JSON property `accountManagement` @return [String]
Linked Ads accounts that are active or pending approval. To create a new link request, add a new link with status `active` to the list. It will remain in a ` pending` state until approved or rejected either in the Ads interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list. Corresponds to the JSON property `adsLinks` @return [Array<Google::Apis::ContentV2_1::AccountAdsLink>]
Indicates whether the merchant sells adult content. Corresponds to the JSON property `adultContent` @return [Boolean]
Indicates whether the merchant sells adult content. Corresponds to the JSON property `adultContent` @return [Boolean]
Automatically created label IDs that are assigned to the account by CSS Center. Corresponds to the JSON property `automaticLabelIds` @return [Array<Fixnum>]
The business information of the account. Corresponds to the JSON property `businessInformation` @return [Google::Apis::ContentV2_1::AccountBusinessInformation]
ID of CSS the account belongs to. Corresponds to the JSON property `cssId` @return [Fixnum]
The GMB account which is linked or in the process of being linked with the Merchant Center account. Corresponds to the JSON property `googleMyBusinessLink` @return [Google::Apis::ContentV2_1::AccountGoogleMyBusinessLink]
Required for update. Merchant Center account ID. Corresponds to the JSON property `id` @return [Fixnum]
Identifies what kind of resource this is. Value: the fixed string “`content# account`”. Corresponds to the JSON property `kind` @return [String]
Manually created label IDs that are assigned to the account by CSS. Corresponds to the JSON property `labelIds` @return [Array<Fixnum>]
Required. Display name for the account. Corresponds to the JSON property `name` @return [String]
Client-specific, locally-unique, internal ID for the child account. Corresponds to the JSON property `sellerId` @return [String]
Users with access to the account. Every account (except for subaccounts) must have at least one admin user. Corresponds to the JSON property `users` @return [Array<Google::Apis::ContentV2_1::AccountUser>]
The merchant's website. Corresponds to the JSON property `websiteUrl` @return [String]
Linked YouTube channels that are active or pending approval. To create a new link request, add a new link with status `active` to the list. It will remain in a `pending` state until approved or rejected in the YT Creator Studio interface. To delete an active link, or to cancel a link request, remove it from the list. Corresponds to the JSON property `youtubeChannelLinks` @return [Array<Google::Apis::ContentV2_1::AccountYouTubeChannelLink>]
Public Class Methods
# File lib/google/apis/content_v2_1/classes.rb, line 119 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2_1/classes.rb, line 124 def update!(**args) @account_management = args[:account_management] if args.key?(:account_management) @ads_links = args[:ads_links] if args.key?(:ads_links) @adult_content = args[:adult_content] if args.key?(:adult_content) @automatic_label_ids = args[:automatic_label_ids] if args.key?(:automatic_label_ids) @business_information = args[:business_information] if args.key?(:business_information) @css_id = args[:css_id] if args.key?(:css_id) @google_my_business_link = args[:google_my_business_link] if args.key?(:google_my_business_link) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @label_ids = args[:label_ids] if args.key?(:label_ids) @name = args[:name] if args.key?(:name) @seller_id = args[:seller_id] if args.key?(:seller_id) @users = args[:users] if args.key?(:users) @website_url = args[:website_url] if args.key?(:website_url) @youtube_channel_links = args[:youtube_channel_links] if args.key?(:youtube_channel_links) end