GoogleAdsSearchads360V23ResourcesShoppingProduct class
A shopping product from Google Merchant Center that can be advertised by campaigns.
The resource returns currently existing products from Google Merchant Center
accounts linked with the customer. A campaign includes a product by
specifying its merchant id (or, if available, the Multi Client Account id of
the merchant) in the ShoppingSetting, and can limit the inclusion to
products having a specified feed label. Standard Shopping campaigns can also
limit the inclusion through a campaign_criterion.listing_scope. Queries to
this resource specify a scope: * Account: - Filters on campaigns or ad
groups are not specified. - All products from the linked Google Merchant
Center accounts are returned. - Metrics and some fields (see the per-field
documentation) are aggregated across all Shopping and Performance Max
campaigns that include a product. * Campaign: - An equality filter on
campaign is specified. Supported campaign types are Shopping, Performance
Max, Demand Gen, Video, App. - Only products that are included by the
specified campaign are returned. - Metrics and some fields (see the
per-field documentation) are restricted to the specified campaign. - Only
the following metrics are supported for Demand Gen, Video, App campaigns:
impressions, clicks, ctr. * Ad group: - An equality filter on ad_group and
campaign is specified. Supported campaign types are Shopping, Demand Gen,
Video, App. - Only products that are included by the specified campaign are
returned. - Metrics and some fields (see the per-field documentation) are
restricted to the specified ad group. - Only the following metrics are
supported for Demand Gen, Video, App campaigns: impressions, clicks, ctr.
Note that segmentation by date segments is not permitted and will return
UNSUPPORTED_DATE_SEGMENTATION error. On the other hand, filtering on date
segments is allowed.
Constructors
-
GoogleAdsSearchads360V23ResourcesShoppingProduct({String? adGroup, String? availability, String? brand, String? campaign, String? categoryLevel1, String? categoryLevel2, String? categoryLevel3, String? categoryLevel4, String? categoryLevel5, String? channel, String? channelExclusivity, String? condition, String? currencyCode, String? customAttribute0, String? customAttribute1, String? customAttribute2, String? customAttribute3, String? customAttribute4, String? effectiveMaxCpcMicros, String? feedLabel, List<
GoogleAdsSearchads360V23ResourcesShoppingProductProductIssue> ? issues, String? itemId, String? languageCode, String? merchantCenterId, String? multiClientAccountId, String? priceMicros, String? productImageUri, String? productTypeLevel1, String? productTypeLevel2, String? productTypeLevel3, String? productTypeLevel4, String? productTypeLevel5, String? resourceName, String? status, List<String> ? targetCountries, String? title}) - GoogleAdsSearchads360V23ResourcesShoppingProduct.fromJson(Map json_)
Properties
- adGroup ↔ String?
-
An ad group of a campaign that includes the product.
getter/setter pair
- availability ↔ String?
-
The availability of the product as provided by the merchant.
getter/setter pair
- brand ↔ String?
-
The brand of the product as provided by the merchant.
getter/setter pair
- campaign ↔ String?
-
A campaign that includes the product.
getter/setter pair
- categoryLevel1 ↔ String?
-
The category level 1 of the product.
getter/setter pair
- categoryLevel2 ↔ String?
-
The category level 2 of the product.
getter/setter pair
- categoryLevel3 ↔ String?
-
The category level 3 of the product.
getter/setter pair
- categoryLevel4 ↔ String?
-
The category level 4 of the product.
getter/setter pair
- categoryLevel5 ↔ String?
-
The category level 5 of the product.
getter/setter pair
- channel ↔ String?
-
The product channel describing the locality of the product.
getter/setter pair
- channelExclusivity ↔ String?
-
The channel exclusivity of the product as provided by the merchant.
getter/setter pair
- condition ↔ String?
-
The condition of the product as provided by the merchant.
getter/setter pair
- currencyCode ↔ String?
-
The currency code as provided by the merchant, in ISO 4217 format.
getter/setter pair
- customAttribute0 ↔ String?
-
The custom attribute 0 of the product as provided by the merchant.
getter/setter pair
- customAttribute1 ↔ String?
-
The custom attribute 1 of the product as provided by the merchant.
getter/setter pair
- customAttribute2 ↔ String?
-
The custom attribute 2 of the product as provided by the merchant.
getter/setter pair
- customAttribute3 ↔ String?
-
The custom attribute 3 of the product as provided by the merchant.
getter/setter pair
- customAttribute4 ↔ String?
-
The custom attribute 4 of the product as provided by the merchant.
getter/setter pair
- effectiveMaxCpcMicros ↔ String?
-
The effective maximum cost-per-click (effective max.
getter/setter pair
- feedLabel ↔ String?
-
The product feed label as provided by the merchant.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
issues
↔ List<
GoogleAdsSearchads360V23ResourcesShoppingProductProductIssue> ? -
The list of issues affecting whether the product can show in ads.
getter/setter pair
- itemId ↔ String?
-
The item id of the product as provided by the merchant.
getter/setter pair
- languageCode ↔ String?
-
The language code as provided by the merchant, in BCP 47 format.
getter/setter pair
- merchantCenterId ↔ String?
-
The id of the merchant that owns the product.
getter/setter pair
- multiClientAccountId ↔ String?
-
The id of the Multi Client Account of the merchant, if present.
getter/setter pair
- priceMicros ↔ String?
-
The price of the product in micros as provided by the merchant, in the
currency specified in
currency_code(e.g. $2.97 is reported as 2970000).getter/setter pair - productImageUri ↔ String?
-
The URI of the product image as provided by the merchant.
getter/setter pair
- productTypeLevel1 ↔ String?
-
The product type level 1 as provided by the merchant.
getter/setter pair
- productTypeLevel2 ↔ String?
-
The product type level 2 as provided by the merchant.
getter/setter pair
- productTypeLevel3 ↔ String?
-
The product type level 3 as provided by the merchant.
getter/setter pair
- productTypeLevel4 ↔ String?
-
The product type level 4 as provided by the merchant.
getter/setter pair
- productTypeLevel5 ↔ String?
-
The product type level 5 as provided by the merchant.
getter/setter pair
- resourceName ↔ String?
-
The resource name of the shopping product.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ String?
-
The status that indicates whether the product can show in ads.
getter/setter pair
-
targetCountries
↔ List<
String> ? -
Upper-case two-letter ISO 3166-1 code of the regions where the product is
intended to be shown in ads.
getter/setter pair
- title ↔ String?
-
The title of the product as provided by the merchant.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited