The new Search Ads 360 Reporting API is now available. Join thesearchads-api-announcements Google group to stay up to date on upcoming enhancements and releases.

SearchAds360Row

  • The document provides a comprehensive overview of the Search Ads 360 API's data structure for reporting.

  • It details various entities like campaigns, ad groups, ads, assets, and bidding strategies, including their properties and relationships.

  • The document outlines the schema for different ad types, targeting criteria, and asset types used in Search Ads 360.

  • It explains various metrics available for reporting, such as impressions, clicks, conversions, and cost, providing insights into ad performance.

  • The content also covers enums, statuses, and data types for each entity and field, ensuring clarity and consistency in data representation.

A returned row from the query.

JSON representation
{"adGroup":{object (AdGroup)},"adGroupAd":{object (AdGroupAd)},"adGroupAdEffectiveLabel":{object (AdGroupAdEffectiveLabel)},"adGroupAdLabel":{object (AdGroupAdLabel)},"adGroupAsset":{object (AdGroupAsset)},"adGroupAssetSet":{object (AdGroupAssetSet)},"adGroupAudienceView":{object (AdGroupAudienceView)},"adGroupBidModifier":{object (AdGroupBidModifier)},"adGroupCriterion":{object (AdGroupCriterion)},"adGroupCriterionEffectiveLabel":{object (AdGroupCriterionEffectiveLabel)},"adGroupCriterionLabel":{object (AdGroupCriterionLabel)},"adGroupEffectiveLabel":{object (AdGroupEffectiveLabel)},"adGroupLabel":{object (AdGroupLabel)},"ageRangeView":{object (AgeRangeView)},"asset":{object (Asset)},"assetGroupAsset":{object (AssetGroupAsset)},"assetGroupSignal":{object (AssetGroupSignal)},"assetGroupListingGroupFilter":{object (AssetGroupListingGroupFilter)},"assetGroupTopCombinationView":{object (AssetGroupTopCombinationView)},"assetGroup":{object (AssetGroup)},"assetSetAsset":{object (AssetSetAsset)},"assetSet":{object (AssetSet)},"biddingStrategy":{object (BiddingStrategy)},"campaignBudget":{object (CampaignBudget)},"campaign":{object (Campaign)},"campaignAsset":{object (CampaignAsset)},"campaignAssetSet":{object (CampaignAssetSet)},"campaignAudienceView":{object (CampaignAudienceView)},"campaignCriterion":{object (CampaignCriterion)},"campaignEffectiveLabel":{object (CampaignEffectiveLabel)},"campaignLabel":{object (CampaignLabel)},"cartDataSalesView":{object (CartDataSalesView)},"audience":{object (Audience)},"conversionAction":{object (ConversionAction)},"conversionCustomVariable":{object (ConversionCustomVariable)},"customer":{object (Customer)},"customerAsset":{object (CustomerAsset)},"customerAssetSet":{object (CustomerAssetSet)},"accessibleBiddingStrategy":{object (AccessibleBiddingStrategy)},"customerManagerLink":{object (CustomerManagerLink)},"customerClient":{object (CustomerClient)},"dynamicSearchAdsSearchTermView":{object (DynamicSearchAdsSearchTermView)},"genderView":{object (GenderView)},"geoTargetConstant":{object (GeoTargetConstant)},"keywordView":{object (KeywordView)},"label":{object (Label)},"languageConstant":{object (LanguageConstant)},"locationView":{object (LocationView)},"productBiddingCategoryConstant":{object (ProductBiddingCategoryConstant)},"productGroupView":{object (ProductGroupView)},"shoppingPerformanceView":{object (ShoppingPerformanceView)},"userList":{object (UserList)},"userLocationView":{object (UserLocationView)},"webpageView":{object (WebpageView)},"visit":{object (Visit)},"conversion":{object (Conversion)},"metrics":{object (Metrics)},"segments":{object (Segments)},"customColumns":[{object (Value)}]}
Fields
adGroup

object (AdGroup)

The ad group referenced in the query.

adGroupAd

object (AdGroupAd)

The ad referenced in the query.

adGroupAdEffectiveLabel

object (AdGroupAdEffectiveLabel)

The ad group ad effective label referenced in the query.

adGroupAdLabel

object (AdGroupAdLabel)

The ad group ad label referenced in the query.

adGroupAsset

object (AdGroupAsset)

The ad group asset referenced in the query.

adGroupAssetSet

object (AdGroupAssetSet)

The ad group asset set referenced in the query.

adGroupAudienceView

object (AdGroupAudienceView)

The ad group audience view referenced in the query.

adGroupBidModifier

object (AdGroupBidModifier)

The bid modifier referenced in the query.

adGroupCriterion

object (AdGroupCriterion)

The criterion referenced in the query.

adGroupCriterionEffectiveLabel

object (AdGroupCriterionEffectiveLabel)

The ad group criterion effective label referenced in the query.

adGroupCriterionLabel

object (AdGroupCriterionLabel)

The ad group criterion label referenced in the query.

adGroupEffectiveLabel

object (AdGroupEffectiveLabel)

The ad group effective label referenced in the query.

adGroupLabel

object (AdGroupLabel)

The ad group label referenced in the query.

ageRangeView

object (AgeRangeView)

The age range view referenced in the query.

asset

object (Asset)

The asset referenced in the query.

assetGroupAsset

object (AssetGroupAsset)

The asset group asset referenced in the query.

assetGroupSignal

object (AssetGroupSignal)

The asset group signal referenced in the query.

assetGroupListingGroupFilter

object (AssetGroupListingGroupFilter)

The asset group listing group filter referenced in the query.

assetGroupTopCombinationView

object (AssetGroupTopCombinationView)

The asset group top combination view referenced in the query.

assetGroup

object (AssetGroup)

The asset group referenced in the query.

assetSetAsset

object (AssetSetAsset)

The asset set asset referenced in the query.

assetSet

object (AssetSet)

The asset set referenced in the query.

biddingStrategy

object (BiddingStrategy)

The bidding strategy referenced in the query.

campaignBudget

object (CampaignBudget)

The campaign budget referenced in the query.

campaign

object (Campaign)

The campaign referenced in the query.

campaignAsset

object (CampaignAsset)

The campaign asset referenced in the query.

campaignAssetSet

object (CampaignAssetSet)

The campaign asset set referenced in the query.

campaignAudienceView

object (CampaignAudienceView)

The campaign audience view referenced in the query.

campaignCriterion

object (CampaignCriterion)

The campaign criterion referenced in the query.

campaignEffectiveLabel

object (CampaignEffectiveLabel)

The campaign effective label referenced in the query.

campaignLabel

object (CampaignLabel)

The campaign label referenced in the query.

cartDataSalesView

object (CartDataSalesView)

The cart data sales view referenced in the query.

audience

object (Audience)

The Audience referenced in the query.

conversionAction

object (ConversionAction)

The conversion action referenced in the query.

conversionCustomVariable

object (ConversionCustomVariable)

The conversion custom variable referenced in the query.

customer

object (Customer)

The customer referenced in the query.

customerAsset

object (CustomerAsset)

The customer asset referenced in the query.

customerAssetSet

object (CustomerAssetSet)

The customer asset set referenced in the query.

accessibleBiddingStrategy

object (AccessibleBiddingStrategy)

The accessible bidding strategy referenced in the query.

customerManagerLink

object (CustomerManagerLink)

The CustomerManagerLink referenced in the query.

customerClient

object (CustomerClient)

The CustomerClient referenced in the query.

dynamicSearchAdsSearchTermView

object (DynamicSearchAdsSearchTermView)

The dynamic search ads search term view referenced in the query.

genderView

object (GenderView)

The gender view referenced in the query.

geoTargetConstant

object (GeoTargetConstant)

The geo target constant referenced in the query.

keywordView

object (KeywordView)

The keyword view referenced in the query.

label

object (Label)

The label referenced in the query.

languageConstant

object (LanguageConstant)

The language constant referenced in the query.

locationView

object (LocationView)

The location view referenced in the query.

productBiddingCategoryConstant

object (ProductBiddingCategoryConstant)

The Product Bidding Category referenced in the query.

productGroupView

object (ProductGroupView)

The product group view referenced in the query.

shoppingPerformanceView

object (ShoppingPerformanceView)

The shopping performance view referenced in the query.

userList

object (UserList)

The user list referenced in the query.

userLocationView

object (UserLocationView)

The user location view referenced in the query.

webpageView

object (WebpageView)

The webpage view referenced in the query.

visit

object (Visit)

The event level visit referenced in the query.

conversion

object (Conversion)

The event level conversion referenced in the query.

metrics

object (Metrics)

The metrics.

segments

object (Segments)

The segments.

customColumns[]

object (Value)

The custom columns.

AdGroup

An ad group.

JSON representation
{"resourceName":string,"status":enum (AdGroupStatus),"type":enum (AdGroupType),"adRotationMode":enum (AdGroupAdRotationMode),"creationTime":string,"targetingSetting":{object (TargetingSetting)},"labels":[string],"effectiveLabels":[string],"engineId":string,"startDate":string,"endDate":string,"languageCode":string,"lastModifiedTime":string,"id":string,"name":string,"trackingUrlTemplate":string,"cpcBidMicros":string,"engineStatus":enum (AdGroupEngineStatus),"finalUrlSuffix":string}
Fields
resourceName

string

The resource name of the ad group. Ad group resource names have the form:

customers/{customerId}/adGroups/{ad_group_id}

status

enum (AdGroupStatus)

The status of the ad group.

type

enum (AdGroupType)

The type of the ad group.

adRotationMode

enum (AdGroupAdRotationMode)

The ad rotation mode of the ad group.

creationTime

string

The timestamp when this adGroup was created. The timestamp is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.

targetingSetting

object (TargetingSetting)

Setting for targeting related features.

labels[]

string

The resource names of labels attached to this ad group.

effectiveLabels[]

string

The resource names of effective labels attached to this ad group. An effective label is a label inherited or directly assigned to this ad group.

engineId

string

ID of the ad group in the external engine account. This field is for non-Google Ads account only, for example, Yahoo Japan, Microsoft, Baidu etc. For Google Ads entity, use "adGroup.id" instead.

startDate

string

Date when this ad group starts serving ads. By default, the ad group starts now or the ad group's start date, whichever is later. If this field is set, then the ad group starts at the beginning of the specified date in the customer's time zone. This field is only available for Microsoft Advertising and Facebook gateway accounts.

Format: YYYY-MM-DD Example: 2019-03-14

endDate

string

Date when the ad group ends serving ads. By default, the ad group ends on the ad group's end date. If this field is set, then the ad group ends at the end of the specified date in the customer's time zone. This field is only available for Microsoft Advertising and Facebook gateway accounts.

Format: YYYY-MM-DD Example: 2019-03-14

languageCode

string

The language of the ads and keywords in an ad group. This field is only available for Microsoft Advertising accounts. More details:https://docs.microsoft.com/en-us/advertising/guides/ad-languages?view=bingads-13#adlanguage

lastModifiedTime

string

The datetime when this ad group was last modified. The datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format.

id

string (int64 format)

The ID of the ad group.

name

string

The name of the ad group.

This field is required and should not be empty when creating new ad groups.

It must contain fewer than 255 UTF-8 full-width characters.

It must not contain any null (code point 0x0), NL line feed (code point 0xA) or carriage return (code point 0xD) characters.

trackingUrlTemplate

string

The URL template for constructing a tracking URL.

cpcBidMicros

string (int64 format)

The maximum CPC (cost-per-click) bid.

engineStatus

enum (AdGroupEngineStatus)

The Engine Status for ad group.

finalUrlSuffix

string

URL template for appending params to Final URL.

AdGroupStatus

The possible statuses of an ad group.

Enums
UNSPECIFIEDThe status has not been specified.
UNKNOWN

The received value is not known in this version.

This is a response-only value.

ENABLEDThe ad group is enabled.
PAUSEDThe ad group is paused.
REMOVEDThe ad group is removed.

AdGroupType

Enum listing the possible types of an ad group.

Enums
UNSPECIFIEDThe type has not been specified.
UNKNOWN

The received value is not known in this version.

This is a response-only value.

SEARCH_STANDARDThe default ad group type for Search campaigns.
DISPLAY_STANDARDThe default ad group type for Display campaigns.
SHOPPING_PRODUCT_ADSThe ad group type for Shopping campaigns serving standard product ads.
SHOPPING_SHOWCASE_ADSThe type for ad groups that are limited to serving Showcase or Merchant ads in Shopping results.
HOTEL_ADSThe default ad group type for Hotel campaigns.
SHOPPING_SMART_ADSThe type for ad groups in Smart Shopping campaigns.
VIDEO_BUMPERShort unskippable in-stream video ads.
VIDEO_TRUE_VIEW_IN_STREAMTrueView (skippable) in-stream video ads.
VIDEO_TRUE_VIEW_IN_DISPLAYTrueView in-display video ads.
VIDEO_NON_SKIPPABLE_IN_STREAMUnskippable in-stream video ads.
VIDEO_OUTSTREAMOutstream video ads.
SEARCH_DYNAMIC_ADSAd group type for Dynamic Search Ads ad groups.
SHOPPING_COMPARISON_LISTING_ADSThe type for ad groups in Shopping Comparison Listing campaigns.
PROMOTED_HOTEL_ADSThe ad group type for Promoted Hotel ad groups.
VIDEO_RESPONSIVEVideo responsive ad groups.
VIDEO_EFFICIENT_REACHVideo efficient reach ad groups.
SMART_CAMPAIGN_ADSAd group type for Smart campaigns.
TRAVEL_ADSAd group type for Travel campaigns.

AdGroupAdRotationMode

The possible ad rotation modes of an ad group.

Enums
UNSPECIFIEDThe ad rotation mode has not been specified.
UNKNOWN

The received value is not known in this version.

This is a response-only value.

OPTIMIZEOptimize ad group ads based on clicks or conversions.
ROTATE_FOREVERRotate evenly forever.

AdGroupEngineStatus

Status of the ad group engine.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
AD_GROUP_ELIGIBLE

Deprecated. Do not use.

This item is deprecated!

AD_GROUP_EXPIREDNo ads are running for this ad group, because the ad group's end date has passed.
AD_GROUP_REMOVEDThe ad group has been deleted.
AD_GROUP_DRAFTNo ads are running for this ad group because the associated ad group is still in draft form.
AD_GROUP_PAUSEDThe ad group has been paused.
AD_GROUP_SERVINGThe ad group is active and currently serving ads.
AD_GROUP_SUBMITTEDThe ad group has been submitted (Microsoft Bing Ads legacy status).
CAMPAIGN_PAUSEDNo ads are running for this ad group, because the campaign has been paused.
ACCOUNT_PAUSEDNo ads are running for this ad group, because the account has been paused.

TargetingSetting

Settings for the targeting-related features, at the campaign and ad group levels. For more details about the targeting setting, visithttps://support.google.com/google-ads/answer/7365594

JSON representation
{"targetRestrictions":[{object (TargetRestriction)}]}
Fields
targetRestrictions[]

object (TargetRestriction)

The per-targeting-dimension setting to restrict the reach of your campaign or ad group.

TargetRestriction

The list of per-targeting-dimension targeting settings.

JSON representation
{"targetingDimension":enum (TargetingDimension),"bidOnly":boolean}
Fields
targetingDimension

enum (TargetingDimension)

The targeting dimension that these settings apply to.

bidOnly

boolean

Indicates whether to restrict your ads to show only for the criteria you have selected for this targetingDimension, or to target all values for this targetingDimension and show ads based on your targeting in other TargetingDimensions. A value oftrue means that these criteria will only apply bid modifiers, and not affect targeting. A value offalse means that these criteria will restrict targeting as well as applying bid modifiers.

TargetingDimension

Enum describing possible targeting dimensions.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
KEYWORDKeyword criteria, for example, 'mars cruise'. KEYWORD may be used as a custom bid dimension. Keywords are always a targeting dimension, so may not be set as a target "ALL" dimension with TargetRestriction.
AUDIENCEAudience criteria, which include user list, user interest, custom affinity, and custom in market.
TOPICTopic criteria for targeting categories of content, for example, 'category::Animals>Pets' Used for Display and Video targeting.
GENDERCriteria for targeting gender.
AGE_RANGECriteria for targeting age ranges.
PLACEMENTPlacement criteria, which include websites like 'www.flowers4sale.com', as well as mobile applications, mobile app categories, YouTube videos, and YouTube channels.
PARENTAL_STATUSCriteria for parental status targeting.
INCOME_RANGECriteria for income range targeting.

AdGroupAd

An ad group ad.

JSON representation
{"resourceName":string,"status":enum (AdGroupAdStatus),"ad":{object (Ad)},"creationTime":string,"labels":[string],"effectiveLabels":[string],"engineId":string,"engineStatus":enum (AdGroupAdEngineStatus),"lastModifiedTime":string}
Fields
resourceName

string

The resource name of the ad. Ad group ad resource names have the form:

customers/{customerId}/adGroupAds/{ad_group_id}~{adId}

status

enum (AdGroupAdStatus)

The status of the ad.

ad

object (Ad)

The ad.

creationTime

string

The timestamp when this adGroupAd was created. The datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format.

labels[]

string

The resource names of labels attached to this ad group ad.

effectiveLabels[]

string

The resource names of effective labels attached to this ad. An effective label is a label inherited or directly assigned to this ad.

engineId

string

ID of the ad in the external engine account. This field is for Search Ads 360 account only, for example, Yahoo Japan, Microsoft, Baidu etc. For non-Search Ads 360 entity, use "adGroupAd.ad.id" instead.

engineStatus

enum (AdGroupAdEngineStatus)

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.

lastModifiedTime

string

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.

AdGroupAdStatus

The possible statuses of an AdGroupAd.

Enums
UNSPECIFIEDNo value has been specified.
UNKNOWN

The received value is not known in this version.

This is a response-only value.

ENABLEDThe ad group ad is enabled.
PAUSEDThe ad group ad is paused.
REMOVEDThe ad group ad is removed.

Ad

An ad.

JSON representation
{"resourceName":string,"finalUrls":[string],"finalAppUrls":[{object (FinalAppUrl)}],"finalMobileUrls":[string],"type":enum (AdType),"id":string,"trackingUrlTemplate":string,"finalUrlSuffix":string,"displayUrl":string,"name":string,// Union fieldad_data can be only one of the following:"textAd":{object (SearchAds360TextAdInfo)},"expandedTextAd":{object (SearchAds360ExpandedTextAdInfo)},"responsiveSearchAd":{object (SearchAds360ResponsiveSearchAdInfo)},"productAd":{object (SearchAds360ProductAdInfo)},"expandedDynamicSearchAd":{object (SearchAds360ExpandedDynamicSearchAdInfo)}// End of list of possible types for union fieldad_data.}
Fields
resourceName

string

The resource name of the ad. Ad resource names have the form:

customers/{customerId}/ads/{adId}

finalUrls[]

string

The list of possible final URLs after all cross-domain redirects for the ad.

finalAppUrls[]

object (FinalAppUrl)

A list of final app URLs that will be used on mobile if the user has the specific app installed.

finalMobileUrls[]

string

The list of possible final mobile URLs after all cross-domain redirects for the ad.

type

enum (AdType)

The type of ad.

id

string (int64 format)

The ID of the ad.

trackingUrlTemplate

string

The URL template for constructing a tracking URL.

finalUrlSuffix

string

The suffix to use when constructing a final URL.

displayUrl

string

The URL that appears in the ad description for some ad formats.

name

string

The name of the ad. This is only used to be able to identify the ad. It does not need to be unique and does not affect the served ad.

Union fieldad_data. Details pertinent to the ad type. Exactly one value must be set.ad_data can be only one of the following:
textAd

object (SearchAds360TextAdInfo)

Details pertaining to a text ad.

expandedTextAd

object (SearchAds360ExpandedTextAdInfo)

Details pertaining to an expanded text ad.

responsiveSearchAd

object (SearchAds360ResponsiveSearchAdInfo)

Details pertaining to a responsive search ad.

productAd

object (SearchAds360ProductAdInfo)

Details pertaining to a product ad.

expandedDynamicSearchAd

object (SearchAds360ExpandedDynamicSearchAdInfo)

Details pertaining to an expanded dynamic search ad.

FinalAppUrl

A URL for deep linking into an app for the given operating system.

JSON representation
{"osType":enum (AppUrlOperatingSystemType),"url":string}
Fields
osType

enum (AppUrlOperatingSystemType)

The operating system targeted by this URL. Required.

url

string

The app deep link URL. Deep links specify a location in an app that corresponds to the content you'd like to show, and should be of the form {scheme}://{host_path} The scheme identifies which app to open. For your app, you can use a custom scheme that starts with the app's name. The host and path specify the unique location in the app where your content exists. Example: "exampleapp://productid_1234". Required.

AppUrlOperatingSystemType

Operating System

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
IOSThe Apple IOS operating system.
ANDROIDThe Android operating system.

AdType

The possible types of an ad.

Enums
UNSPECIFIEDNo value has been specified.
UNKNOWN

The received value is not known in this version.

This is a response-only value.

TEXT_ADThe ad is a text ad.
EXPANDED_TEXT_ADThe ad is an expanded text ad.
CALL_ONLY_ADThe ad is a call only ad.
EXPANDED_DYNAMIC_SEARCH_ADThe ad is an expanded dynamic search ad.
HOTEL_ADThe ad is a hotel ad.
SHOPPING_SMART_ADThe ad is a Smart Shopping ad.
SHOPPING_PRODUCT_ADThe ad is a standard Shopping ad.
VIDEO_ADThe ad is a video ad.
GMAIL_ADThis ad is a Gmail ad.
IMAGE_ADThis ad is an Image ad.
RESPONSIVE_SEARCH_ADThe ad is a responsive search ad.
LEGACY_RESPONSIVE_DISPLAY_ADThe ad is a legacy responsive display ad.
APP_ADThe ad is an app ad.
LEGACY_APP_INSTALL_ADThe ad is a legacy app install ad.
RESPONSIVE_DISPLAY_ADThe ad is a responsive display ad.
LOCAL_ADThe ad is a local ad.
HTML5_UPLOAD_ADThe ad is a display upload ad with the HTML5_UPLOAD_AD product type.
DYNAMIC_HTML5_ADThe ad is a display upload ad with one of the DYNAMIC_HTML5_* product types.
APP_ENGAGEMENT_ADThe ad is an app engagement ad.
SHOPPING_COMPARISON_LISTING_ADThe ad is a Shopping Comparison Listing ad.
VIDEO_BUMPER_ADVideo bumper ad.
VIDEO_NON_SKIPPABLE_IN_STREAM_ADVideo non-skippable in-stream ad.
VIDEO_OUTSTREAM_ADVideo outstream ad.
VIDEO_TRUEVIEW_DISCOVERY_ADVideo TrueView in-display ad.
VIDEO_TRUEVIEW_IN_STREAM_ADVideo TrueView in-stream ad.
VIDEO_RESPONSIVE_ADVideo responsive ad.
SMART_CAMPAIGN_ADSmart campaign ad.
APP_PRE_REGISTRATION_ADUniversal app pre-registration ad.
DISCOVERY_MULTI_ASSET_ADDiscovery multi asset ad.
DISCOVERY_CAROUSEL_ADDiscovery carousel ad.
TRAVEL_ADTravel ad.
DISCOVERY_VIDEO_RESPONSIVE_ADDiscovery video responsive ad.
MULTIMEDIA_ADMultimedia ad.

SearchAds360TextAdInfo

A Search Ads 360 text ad.

JSON representation
{"headline":string,"description1":string,"description2":string,"displayUrl":string,"displayMobileUrl":string,"adTrackingId":string}
Fields
headline

string

The headline of the ad.

description1

string

The first line of the ad's description.

description2

string

The second line of the ad's description.

displayUrl

string

The displayed URL of the ad.

displayMobileUrl

string

The displayed mobile URL of the ad.

adTrackingId

string (int64 format)

The tracking id of the ad.

SearchAds360ExpandedTextAdInfo

A Search Ads 360 expanded text ad.

JSON representation
{"headline":string,"headline2":string,"headline3":string,"description1":string,"description2":string,"path1":string,"path2":string,"adTrackingId":string}
Fields
headline

string

The headline of the ad.

headline2

string

The second headline of the ad.

headline3

string

The third headline of the ad.

description1

string

The first line of the ad's description.

description2

string

The second line of the ad's description.

path1

string

Text appended to the auto-generated visible URL with a delimiter.

path2

string

Text appended to path1 with a delimiter.

adTrackingId

string (int64 format)

The tracking id of the ad.

SearchAds360ResponsiveSearchAdInfo

A Search Ads 360 responsive search ad.

JSON representation
{"headlines":[{object (AdTextAsset)}],"descriptions":[{object (AdTextAsset)}],"path1":string,"path2":string,"adTrackingId":string}
Fields
headlines[]

object (AdTextAsset)

List of text assets for headlines. When the ad serves the headlines will be selected from this list.

descriptions[]

object (AdTextAsset)

List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.

path1

string

Text appended to the auto-generated visible URL with a delimiter.

path2

string

Text appended to path1 with a delimiter.

adTrackingId

string (int64 format)

The tracking id of the ad.

AdTextAsset

A text asset used inside an ad.

JSON representation
{"text":string}
Fields
text

string

Asset text.

SearchAds360ProductAdInfo

This type has no fields.

A Search Ads 360 product ad.

SearchAds360ExpandedDynamicSearchAdInfo

An expanded dynamic search ad.

JSON representation
{"description1":string,"description2":string,"adTrackingId":string}
Fields
description1

string

The first line of the ad's description.

description2

string

The second line of the ad's description.

adTrackingId

string (int64 format)

The tracking id of the ad.

AdGroupAdEngineStatus

Enumerates AdGroupAd engine statuses.

Enums
UNSPECIFIEDNo value has been specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
AD_GROUP_AD_ELIGIBLE

Deprecated. Do not use.

This item is deprecated!

AD_GROUP_AD_INAPPROPRIATE_FOR_CAMPAIGNBaidu: Creative was not approved.
AD_GROUP_AD_MOBILE_URL_UNDER_REVIEWBaidu: Mobile URL in process to be reviewed.
AD_GROUP_AD_PARTIALLY_INVALIDBaidu: Creative is invalid on mobile device but valid on desktop.
AD_GROUP_AD_TO_BE_ACTIVATEDBaidu: Creative is ready for activation.
AD_GROUP_AD_NOT_REVIEWEDBaidu: Creative not reviewed.
AD_GROUP_AD_ON_HOLD

Deprecated. Do not use. Previously used by Gemini

This item is deprecated!

AD_GROUP_AD_PAUSEDCreative has been paused.
AD_GROUP_AD_REMOVEDCreative has been removed.
AD_GROUP_AD_PENDING_REVIEWCreative is pending review.
AD_GROUP_AD_UNDER_REVIEWCreative is under review.
AD_GROUP_AD_APPROVEDCreative has been approved.
AD_GROUP_AD_DISAPPROVEDCreative has been disapproved.
AD_GROUP_AD_SERVINGCreative is serving.
AD_GROUP_AD_ACCOUNT_PAUSEDCreative has been paused because the account is paused.
AD_GROUP_AD_CAMPAIGN_PAUSEDCreative has been paused because the campaign is paused.
AD_GROUP_AD_AD_GROUP_PAUSEDCreative has been paused because the ad group is paused.

AdGroupAdEffectiveLabel

A relationship between an ad group ad and an effective label. An effective label is a label inherited or directly assigned to this ad group ad.

JSON representation
{"resourceName":string,"adGroupAd":string,"label":string,"ownerCustomerId":string}
Fields
resourceName

string

The resource name of the ad group ad effective label. Ad group ad effective label resource names have the form:customers/{ownerCustomerId}/adGroupAdEffectiveLabels/{ad_group_id}~{adId}~{label_id}

adGroupAd

string

The ad group ad to which the effective label is attached.

label

string

The effective label assigned to the ad group ad.

ownerCustomerId

string (int64 format)

The ID of the Customer which owns the effective label.

AdGroupAdLabel

A relationship between an ad group ad and a label.

JSON representation
{"resourceName":string,"adGroupAd":string,"label":string,"ownerCustomerId":string}
Fields
resourceName

string

The resource name of the ad group ad label. Ad group ad label resource names have the form:customers/{ownerCustomerId}/adGroupAdLabels/{ad_group_id}~{adId}~{label_id}

adGroupAd

string

The ad group ad to which the label is attached.

label

string

The label assigned to the ad group ad.

ownerCustomerId

string (int64 format)

The ID of the Customer which owns the label.

AdGroupAsset

A link between an ad group and an asset.

JSON representation
{"resourceName":string,"adGroup":string,"asset":string,"status":enum (AssetLinkStatus)}
Fields
resourceName

string

The resource name of the ad group asset. AdGroupAsset resource names have the form:

customers/{customerId}/adGroupAssets/{ad_group_id}~{assetId}~{fieldType}

adGroup

string

Required. The ad group to which the asset is linked.

asset

string

Required. The asset which is linked to the ad group.

status

enum (AssetLinkStatus)

Status of the ad group asset.

AssetLinkStatus

Enum describing statuses of an asset link.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
ENABLEDAsset link is enabled.
REMOVEDAsset link has been removed.
PAUSEDAsset link is paused.

AdGroupAssetSet

AdGroupAssetSet is the linkage between an ad group and an asset set. Creating an AdGroupAssetSet links an asset set with an ad group.

JSON representation
{"resourceName":string,"adGroup":string,"assetSet":string,"status":enum (AssetSetLinkStatus)}
Fields
resourceName

string

The resource name of the ad group asset set. Ad group asset set resource names have the form:

customers/{customerId}/adGroupAssetSets/{ad_group_id}~{asset_set_id}

adGroup

string

The ad group to which this asset set is linked.

assetSet

string

The asset set which is linked to the ad group.

status

enum (AssetSetLinkStatus)

The status of the ad group asset set. Read-only.

AssetSetLinkStatus

The possible statuses of the linkage between asset set and its container.

Enums
UNSPECIFIEDThe status has not been specified.
UNKNOWNThe received value is not known in this version. This is a response-only value.
ENABLEDThe linkage between asset set and its container is enabled.
REMOVEDThe linkage between asset set and its container is removed.

AdGroupAudienceView

An ad group audience view. Includes performance data from interests and remarketing lists for Display Network and YouTube Network ads, and remarketing lists for search ads (RLSA), aggregated at the audience level.

JSON representation
{"resourceName":string}
Fields
resourceName

string

The resource name of the ad group audience view. Ad group audience view resource names have the form:

customers/{customerId}/adGroupAudienceViews/{ad_group_id}~{criterionId}

AdGroupBidModifier

Represents an ad group bid modifier.

JSON representation
{"resourceName":string,"bidModifier":number,// Union fieldcriterion can be only one of the following:"device":{object (DeviceInfo)}// End of list of possible types for union fieldcriterion.}
Fields
resourceName

string

The resource name of the ad group bid modifier. Ad group bid modifier resource names have the form:

customers/{customerId}/adGroupBidModifiers/{ad_group_id}~{criterionId}

bidModifier

number

The modifier for the bid when the criterion matches. The modifier must be in the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent. Use 0 to opt out of a Device type.

Union fieldcriterion. The criterion of this ad group bid modifier.

Required in create operations starting in V5.criterion can be only one of the following:

device

object (DeviceInfo)

A device criterion.

DeviceInfo

A device criterion.

JSON representation
{"type":enum (Device)}
Fields
type

enum (Device)

Type of the device.

Device

Enumerates Google Ads devices available for targeting.

Enums
UNSPECIFIEDNot specified.
UNKNOWNThe value is unknown in this version.
MOBILEMobile devices with full browsers.
TABLETTablets with full browsers.
DESKTOPComputers.
CONNECTED_TVSmart TVs and game consoles.
OTHEROther device types.

AdGroupCriterion

An ad group criterion. The adGroupCriterion report only returns criteria that were explicitly added to the ad group.

JSON representation
{"resourceName":string,"creationTime":string,"status":enum (AdGroupCriterionStatus),"qualityInfo":{object (QualityInfo)},"type":enum (CriterionType),"labels":[string],"effectiveLabels":[string],"positionEstimates":{object (PositionEstimates)},"finalUrls":[string],"finalMobileUrls":[string],"urlCustomParameters":[{object (CustomParameter)}],"engineId":string,"lastModifiedTime":string,"criterionId":string,"adGroup":string,"negative":boolean,"bidModifier":number,"cpcBidMicros":string,"effectiveCpcBidMicros":string,"engineStatus":enum (AdGroupCriterionEngineStatus),"finalUrlSuffix":string,"trackingUrlTemplate":string,// Union fieldcriterion can be only one of the following:"keyword":{object (KeywordInfo)},"listingGroup":{object (ListingGroupInfo)},"ageRange":{object (AgeRangeInfo)},"gender":{object (GenderInfo)},"userList":{object (UserListInfo)},"webpage":{object (WebpageInfo)},"location":{object (LocationInfo)}// End of list of possible types for union fieldcriterion.}
Fields
resourceName

string

The resource name of the ad group criterion. Ad group criterion resource names have the form:

customers/{customerId}/adGroupCriteria/{ad_group_id}~{criterionId}

creationTime

string

The timestamp when this ad group criterion was created. The timestamp is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.

status

enum (AdGroupCriterionStatus)

The status of the criterion.

This is the status of the ad group criterion entity, set by the client. Note: UI reports may incorporate additional information that affects whether a criterion is eligible to run. In some cases a criterion that's REMOVED in the API can still show as enabled in the UI. For example, campaigns by default show to users of all age ranges unless excluded. The UI will show each age range as "enabled", since they're eligible to see the ads; but AdGroupCriterion.status will show "removed", since no positive criterion was added.

qualityInfo

object (QualityInfo)

Information regarding the quality of the criterion.

type

enum (CriterionType)

The type of the criterion.

labels[]

string

The resource names of labels attached to this ad group criterion.

effectiveLabels[]

string

The resource names of effective labels attached to this ad group criterion. An effective label is a label inherited or directly assigned to this ad group criterion.

positionEstimates

object (PositionEstimates)

Estimates for criterion bids at various positions.

finalUrls[]

string

The list of possible final URLs after all cross-domain redirects for the ad.

finalMobileUrls[]

string

The list of possible final mobile URLs after all cross-domain redirects.

urlCustomParameters[]

object (CustomParameter)

The list of mappings used to substitute custom parameter tags in atrackingUrlTemplate,finalUrls, ormobile_final_urls.

engineId

string

ID of the ad group criterion in the external engine account. This field is for non-Google Ads account only, for example, Yahoo Japan, Microsoft, Baidu etc. For Google Ads entity, use "adGroupCriterion.criterion_id" instead.

lastModifiedTime

string

The datetime when this ad group criterion was last modified. The datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format.

criterionId

string (int64 format)

The ID of the criterion.

adGroup

string

The ad group to which the criterion belongs.

negative

boolean

Whether to target (false) or exclude (true) the criterion.

This field is immutable. To switch a criterion from positive to negative, remove then re-add it.

bidModifier

number

The modifier for the bid when the criterion matches. The modifier must be in the range: 0.1 - 10.0. Most targetable criteria types support modifiers.

cpcBidMicros

string (int64 format)

The CPC (cost-per-click) bid.

effectiveCpcBidMicros

string (int64 format)

The effective CPC (cost-per-click) bid.

engineStatus

enum (AdGroupCriterionEngineStatus)

The Engine Status for ad group criterion.

finalUrlSuffix

string

URL template for appending params to final URL.

trackingUrlTemplate

string

The URL template for constructing a tracking URL.

Union fieldcriterion. The ad group criterion.

Exactly one must be set.criterion can be only one of the following:

keyword

object (KeywordInfo)

Keyword.

listingGroup

object (ListingGroupInfo)

Listing group.

ageRange

object (AgeRangeInfo)

Age range.

gender

object (GenderInfo)

Gender.

userList

object (UserListInfo)

User List.

webpage

object (WebpageInfo)

Webpage

location

object (LocationInfo)

Location.

AdGroupCriterionStatus

The possible statuses of an AdGroupCriterion.

Enums
UNSPECIFIEDNo value has been specified.
UNKNOWN

The received value is not known in this version.

This is a response-only value.

ENABLEDThe ad group criterion is enabled.
PAUSEDThe ad group criterion is paused.
REMOVEDThe ad group criterion is removed.

QualityInfo

A container for ad group criterion quality information.

JSON representation
{"qualityScore":integer}
Fields
qualityScore

integer

The quality score.

This field may not be populated if Google does not have enough information to determine a value.

CriterionType

Enum describing possible criterion types.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
KEYWORDKeyword, for example, 'mars cruise'.
PLACEMENTPlacement, also known as Website, for example, 'www.flowers4sale.com'
MOBILE_APP_CATEGORYMobile application categories to target.
MOBILE_APPLICATIONMobile applications to target.
DEVICEDevices to target.
LOCATIONLocations to target.
LISTING_GROUPListing groups to target.
AD_SCHEDULEAd Schedule.
AGE_RANGEAge range.
GENDERGender.
INCOME_RANGEIncome Range.
PARENTAL_STATUSParental status.
YOUTUBE_VIDEOYouTube Video.
YOUTUBE_CHANNELYouTube Channel.
USER_LISTUser list.
PROXIMITYProximity.
TOPICA topic target on the display network (for example, "Pets & Animals").
LISTING_SCOPEListing scope to target.
LANGUAGELanguage.
IP_BLOCKIpBlock.
CONTENT_LABELContent Label for category exclusion.
CARRIERCarrier.
USER_INTERESTA category the user is interested in.
WEBPAGEWebpage criterion for dynamic search ads.
OPERATING_SYSTEM_VERSIONOperating system version.
APP_PAYMENT_MODELApp payment model.
MOBILE_DEVICEMobile device.
CUSTOM_AFFINITYCustom affinity.
CUSTOM_INTENTCustom intent.
LOCATION_GROUPLocation group.
CUSTOM_AUDIENCECustom audience
COMBINED_AUDIENCECombined audience
KEYWORD_THEMESmart Campaign keyword theme
AUDIENCEAudience
LOCAL_SERVICE_IDLocal Services Ads Service ID.
BRANDBrand
BRAND_LISTBrand List
LIFE_EVENTLife Event

PositionEstimates

Estimates for criterion bids at various positions.

JSON representation
{"topOfPageCpcMicros":string}
Fields
topOfPageCpcMicros

string (int64 format)

The estimate of the CPC bid required for ad to be displayed at the top of the first page of search results.

AdGroupCriterionEngineStatus

Enumerates AdGroupCriterion engine statuses.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
AD_GROUP_CRITERION_ELIGIBLE

Deprecated. Do not use.

This item is deprecated!

AD_GROUP_CRITERION_INAPPROPRIATE_FOR_CAMPAIGNBaidu: Bid or quality too low to be displayed.
AD_GROUP_CRITERION_INVALID_MOBILE_SEARCHBaidu: Bid or quality too low for mobile, but eligible to display for desktop.
AD_GROUP_CRITERION_INVALID_PC_SEARCHBaidu: Bid or quality too low for desktop, but eligible to display for mobile.
AD_GROUP_CRITERION_INVALID_SEARCHBaidu: Bid or quality too low to be displayed.
AD_GROUP_CRITERION_LOW_SEARCH_VOLUMEBaidu: Paused by Baidu due to low search volume.
AD_GROUP_CRITERION_MOBILE_URL_UNDER_REVIEWBaidu: Mobile URL in process to be reviewed.
AD_GROUP_CRITERION_PARTIALLY_INVALIDBaidu: The landing page for one device is invalid, while the landing page for the other device is valid.
AD_GROUP_CRITERION_TO_BE_ACTIVATEDBaidu: Keyword has been created and paused by Baidu account management, and is now ready for you to activate it.
AD_GROUP_CRITERION_UNDER_REVIEWBaidu: In process to be reviewed by Baidu. Gemini: Criterion under review.
AD_GROUP_CRITERION_NOT_REVIEWEDBaidu: Criterion to be reviewed.
AD_GROUP_CRITERION_ON_HOLD

Deprecated. Do not use. Previously used by Gemini

This item is deprecated!

AD_GROUP_CRITERION_PENDING_REVIEWY!J : Criterion pending review
AD_GROUP_CRITERION_PAUSEDCriterion has been paused.
AD_GROUP_CRITERION_REMOVEDCriterion has been removed.
AD_GROUP_CRITERION_APPROVEDCriterion has been approved.
AD_GROUP_CRITERION_DISAPPROVEDCriterion has been disapproved.
AD_GROUP_CRITERION_SERVINGCriterion is active and serving.
AD_GROUP_CRITERION_ACCOUNT_PAUSEDCriterion has been paused since the account is paused.

CustomParameter

A mapping that can be used by custom parameter tags in atrackingUrlTemplate,finalUrls, ormobile_final_urls.

JSON representation
{"key":string,"value":string}
Fields
key

string

The key matching the parameter tag name.

value

string

The value to be substituted.

KeywordInfo

A keyword criterion.

JSON representation
{"matchType":enum (KeywordMatchType),"text":string}
Fields
matchType

enum (KeywordMatchType)

The match type of the keyword.

text

string

The text of the keyword (at most 80 characters and 10 words).

KeywordMatchType

Possible Keyword match types.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
EXACTExact match.
PHRASEPhrase match.
BROADBroad match.

ListingGroupInfo

A listing group criterion.

JSON representation
{"type":enum (ListingGroupType)}
Fields
type

enum (ListingGroupType)

Type of the listing group.

ListingGroupType

The type of the listing group.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
SUBDIVISIONSubdivision of products along some listing dimension. These nodes are not used by serving to target listing entries, but is purely to define the structure of the tree.
UNITListing group unit that defines a bid.

AgeRangeInfo

An age range criterion.

JSON representation
{"type":enum (AgeRangeType)}
Fields
type

enum (AgeRangeType)

Type of the age range.

AgeRangeType

The type of demographic age ranges (for example, between 18 and 24 years old).

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
AGE_RANGE_18_24Between 18 and 24 years old.
AGE_RANGE_25_34Between 25 and 34 years old.
AGE_RANGE_35_44Between 35 and 44 years old.
AGE_RANGE_45_54Between 45 and 54 years old.
AGE_RANGE_55_64Between 55 and 64 years old.
AGE_RANGE_65_UP65 years old and beyond.
AGE_RANGE_UNDETERMINEDUndetermined age range.

GenderInfo

A gender criterion.

JSON representation
{"type":enum (GenderType)}
Fields
type

enum (GenderType)

Type of the gender.

GenderType

The type of demographic genders (for example, female).

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
MALEMale.
FEMALEFemale.
UNDETERMINEDUndetermined gender.

UserListInfo

A User List criterion. Represents a user list that is defined by the advertiser to be targeted.

JSON representation
{"userList":string}
Fields
userList

string

The User List resource name.

WebpageInfo

Represents a criterion for targeting webpages of an advertiser's website.

JSON representation
{"conditions":[{object (WebpageConditionInfo)}],"coveragePercentage":number,"criterionName":string}
Fields
conditions[]

object (WebpageConditionInfo)

Conditions, or logical expressions, for webpage targeting. The list of webpage targeting conditions are and-ed together when evaluated for targeting. An empty list of conditions indicates all pages of the campaign's website are targeted.

This field is required for CREATE operations and is prohibited on UPDATE operations.

coveragePercentage

number

Website criteria coverage percentage. This is the computed percentage of website coverage based on the website target, negative website target and negative keywords in the ad group and campaign. For instance, when coverage returns as 1, it indicates it has 100% coverage. This field is read-only.

criterionName

string

The name of the criterion that is defined by this parameter. The name value will be used for identifying, sorting and filtering criteria with this type of parameters.

This field is required for CREATE operations and is prohibited on UPDATE operations.

WebpageConditionInfo

Logical expression for targeting webpages of an advertiser's website.

JSON representation
{"operand":enum (WebpageConditionOperand),"operator":enum (WebpageConditionOperator),"argument":string}
Fields
operand

enum (WebpageConditionOperand)

Operand of webpage targeting condition.

operator

enum (WebpageConditionOperator)

Operator of webpage targeting condition.

argument

string

Argument of webpage targeting condition.

WebpageConditionOperand

The webpage condition operand in webpage criterion.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
URLOperand denoting a webpage URL targeting condition.
CATEGORYOperand denoting a webpage category targeting condition.
PAGE_TITLEOperand denoting a webpage title targeting condition.
PAGE_CONTENTOperand denoting a webpage content targeting condition.
CUSTOM_LABELOperand denoting a webpage custom label targeting condition.

WebpageConditionOperator

The webpage condition operator in webpage criterion.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
EQUALSThe argument web condition is equal to the compared web condition.
CONTAINSThe argument web condition is part of the compared web condition.

LocationInfo

A location criterion.

JSON representation
{"geoTargetConstant":string}
Fields
geoTargetConstant

string

The geo target constant resource name.

AdGroupCriterionEffectiveLabel

A relationship between an ad group criterion and an effective label. An effective label is a label inherited or directly assigned to this ad group criterion.

JSON representation
{"resourceName":string,"adGroupCriterion":string,"label":string,"ownerCustomerId":string}
Fields
resourceName

string

The resource name of the ad group criterion effective label. Ad group criterion effective label resource names have the form:customers/{ownerCustomerId}/adGroupCriterionEffectiveLabels/{ad_group_id}~{criterionId}~{label_id}

adGroupCriterion

string

The ad group criterion to which the effective label is attached.

label

string

The effective label assigned to the ad group criterion.

ownerCustomerId

string (int64 format)

The ID of the Customer which owns the effective label.

AdGroupCriterionLabel

A relationship between an ad group criterion and a label.

JSON representation
{"resourceName":string,"adGroupCriterion":string,"label":string,"ownerCustomerId":string}
Fields
resourceName

string

The resource name of the ad group criterion label. Ad group criterion label resource names have the form:customers/{ownerCustomerId}/adGroupCriterionLabels/{ad_group_id}~{criterionId}~{label_id}

adGroupCriterion

string

The ad group criterion to which the label is attached.

label

string

The label assigned to the ad group criterion.

ownerCustomerId

string (int64 format)

The ID of the Customer which owns the label.

AdGroupEffectiveLabel

A relationship between an ad group and an effective label. An effective label is a label inherited or directly assigned to this ad group.

JSON representation
{"resourceName":string,"adGroup":string,"label":string,"ownerCustomerId":string}
Fields
resourceName

string

The resource name of the ad group effective label. Ad group effective label resource names have the form:customers/{ownerCustomerId}/adGroupEffectiveLabels/{ad_group_id}~{label_id}

adGroup

string

The ad group to which the effective label is attached.

label

string

The effective label assigned to the ad group.

ownerCustomerId

string (int64 format)

The ID of the Customer which owns the effective label.

AdGroupLabel

A relationship between an ad group and a label.

JSON representation
{"resourceName":string,"adGroup":string,"label":string,"ownerCustomerId":string}
Fields
resourceName

string

The resource name of the ad group label. Ad group label resource names have the form:customers/{ownerCustomerId}/adGroupLabels/{ad_group_id}~{label_id}

adGroup

string

The ad group to which the label is attached.

label

string

The label assigned to the ad group.

ownerCustomerId

string (int64 format)

The ID of the Customer which owns the label.

AgeRangeView

An age range view.

JSON representation
{"resourceName":string}
Fields
resourceName

string

The resource name of the age range view. Age range view resource names have the form:

customers/{customerId}/ageRangeViews/{ad_group_id}~{criterionId}

Asset

Asset is a part of an ad which can be shared across multiple ads. It can be an image (ImageAsset), a video (YoutubeVideoAsset), etc. Assets are immutable and cannot be removed. To stop an asset from serving, remove the asset from the entity that is using it.

JSON representation
{"resourceName":string,"type":enum (AssetType),"finalUrls":[string],"finalMobileUrls":[string],"urlCustomParameters":[{object (CustomParameter)}],"status":enum (AssetStatus),"creationTime":string,"lastModifiedTime":string,"id":string,"name":string,"trackingUrlTemplate":string,"finalUrlSuffix":string,"engineStatus":enum (AssetEngineStatus),// Union fieldasset_data can be only one of the following:"youtubeVideoAsset":{object (YoutubeVideoAsset)},"imageAsset":{object (ImageAsset)},"textAsset":{object (TextAsset)},"calloutAsset":{object (UnifiedCalloutAsset)},"sitelinkAsset":{object (UnifiedSitelinkAsset)},"pageFeedAsset":{object (UnifiedPageFeedAsset)},"mobileAppAsset":{object (MobileAppAsset)},"callAsset":{object (UnifiedCallAsset)},"callToActionAsset":{object (CallToActionAsset)},"locationAsset":{object (UnifiedLocationAsset)}// End of list of possible types for union fieldasset_data.}
Fields
resourceName

string

The resource name of the asset. Asset resource names have the form:

customers/{customerId}/assets/{assetId}

type

enum (AssetType)

Type of the asset.

finalUrls[]

string

A list of possible final URLs after all cross domain redirects.

finalMobileUrls[]

string

A list of possible final mobile URLs after all cross domain redirects.

urlCustomParameters[]

object (CustomParameter)

A list of mappings to be used for substituting URL custom parameter tags in the trackingUrlTemplate, finalUrls, and/or finalMobileUrls.

status

enum (AssetStatus)

The status of the asset.

creationTime

string

The timestamp when this asset was created. The timestamp is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.

lastModifiedTime

string

The datetime when this asset was last modified. The datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format.

id

string (int64 format)

The ID of the asset.

name

string

Optional name of the asset.

trackingUrlTemplate

string

URL template for constructing a tracking URL.

finalUrlSuffix

string

URL template for appending params to landing page URLs served with parallel tracking.

engineStatus

enum (AssetEngineStatus)

The Engine Status for an asset.

Union fieldasset_data. The specific type of the asset.asset_data can be only one of the following:
youtubeVideoAsset

object (YoutubeVideoAsset)

A YouTube video asset.

imageAsset

object (ImageAsset)

An image asset.

textAsset

object (TextAsset)

A text asset.

calloutAsset

object (UnifiedCalloutAsset)

A unified callout asset.

sitelinkAsset

object (UnifiedSitelinkAsset)

A unified sitelink asset.

pageFeedAsset

object (UnifiedPageFeedAsset)

A unified page feed asset.

mobileAppAsset

object (MobileAppAsset)

A mobile app asset.

callAsset

object (UnifiedCallAsset)

A unified call asset.

callToActionAsset

object (CallToActionAsset)

A call to action asset.

locationAsset

object (UnifiedLocationAsset)

A unified location asset.

AssetType

Enum describing possible types of asset.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
YOUTUBE_VIDEOYouTube video asset.
MEDIA_BUNDLEMedia bundle asset.
IMAGEImage asset.
TEXTText asset.
LEAD_FORMLead form asset.
BOOK_ON_GOOGLEBook on Google asset.
PROMOTIONPromotion asset.
CALLOUTCallout asset.
STRUCTURED_SNIPPETStructured Snippet asset.
SITELINKSitelink asset.
PAGE_FEEDPage Feed asset.
DYNAMIC_EDUCATIONDynamic Education asset.
MOBILE_APPMobile app asset.
HOTEL_CALLOUTHotel callout asset.
CALLCall asset.
PRICEPrice asset.
CALL_TO_ACTIONCall to action asset.
DYNAMIC_REAL_ESTATEDynamic real estate asset.
DYNAMIC_CUSTOMDynamic custom asset.
DYNAMIC_HOTELS_AND_RENTALSDynamic hotels and rentals asset.
DYNAMIC_FLIGHTSDynamic flights asset.
DISCOVERY_CAROUSEL_CARDDiscovery Carousel Card asset.
DYNAMIC_TRAVELDynamic travel asset.
DYNAMIC_LOCALDynamic local asset.
DYNAMIC_JOBSDynamic jobs asset.
LOCATIONLocation asset.
HOTEL_PROPERTYHotel property asset.

AssetStatus

The possible statuses of an asset.

Enums
UNSPECIFIEDThe status has not been specified.
UNKNOWNThe received value is not known in this version. This is a response-only value.
ENABLEDThe asset is enabled.
REMOVEDThe asset is removed.
ARCHIVEDThe asset is archived.
PENDING_SYSTEM_GENERATEDThe asset is system generated pending user review.

AssetEngineStatus

Enum describing possible Asset engine statuses.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
SERVINGThe asset is active.
SERVING_LIMITEDThe asset is active limited.
DISAPPROVEDThe asset is disapproved (not eligible).
DISABLEDThe asset is inactive (pending).
REMOVEDThe asset has been removed.

YoutubeVideoAsset

A YouTube asset.

JSON representation
{"youtubeVideoTitle":string,"youtubeVideoId":string}
Fields
youtubeVideoTitle

string

YouTube video title.

youtubeVideoId

string

YouTube video id. This is the 11 character string value used in the YouTube video URL.

ImageAsset

An Image asset.

JSON representation
{"mimeType":enum (MimeType),"fullSize":{object (ImageDimension)},"fileSize":string}
Fields
mimeType

enum (MimeType)

MIME type of the image asset.

fullSize

object (ImageDimension)

Metadata for this image at its original size.

fileSize

string (int64 format)

File size of the image asset in bytes.

MimeType

The mime type

Enums
UNSPECIFIEDThe mime type has not been specified.
UNKNOWN

The received value is not known in this version.

This is a response-only value.

IMAGE_JPEGMIME type of image/jpeg.
IMAGE_GIFMIME type of image/gif.
IMAGE_PNGMIME type of image/png.
FLASHMIME type of application/x-shockwave-flash.
TEXT_HTMLMIME type of text/html.
PDFMIME type of application/pdf.
MSWORDMIME type of application/msword.
MSEXCELMIME type of application/vnd.ms-excel.
RTFMIME type of application/rtf.
AUDIO_WAVMIME type of audio/wav.
AUDIO_MP3MIME type of audio/mp3.
HTML5_AD_ZIPMIME type of application/x-html5-ad-zip.

ImageDimension

Metadata for an image at a certain size, either original or resized.

JSON representation
{"heightPixels":string,"widthPixels":string,"url":string}
Fields
heightPixels

string (int64 format)

Height of the image.

widthPixels

string (int64 format)

Width of the image.

url

string

A URL that returns the image with this height and width.

TextAsset

A Text asset.

JSON representation
{"text":string}
Fields
text

string

Text content of the text asset.

UnifiedCalloutAsset

A unified callout asset.

JSON representation
{"calloutText":string,"startDate":string,"endDate":string,"adScheduleTargets":[{object (AdScheduleInfo)}],"useSearcherTimeZone":boolean}
Fields
calloutText

string

The callout text. The length of this string should be between 1 and 25, inclusive.

startDate

string

Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format.

endDate

string

Last date of when this asset is effective and still serving, in yyyy-MM-dd format.

adScheduleTargets[]

object (AdScheduleInfo)

List of non-overlapping schedules specifying all time intervals for which the asset may serve. There can be a maximum of 6 schedules per day, 42 in total.

useSearcherTimeZone

boolean

Whether to show the asset in search user's time zone. Applies to Microsoft Ads.

AdScheduleInfo

Represents an AdSchedule criterion.

AdSchedule is specified as the day of the week and a time interval within which ads will be shown.

No more than six AdSchedules can be added for the same day.

JSON representation
{"startMinute":enum (MinuteOfHour),"endMinute":enum (MinuteOfHour),"dayOfWeek":enum (DayOfWeek),"startHour":integer,"endHour":integer}
Fields
startMinute

enum (MinuteOfHour)

Minutes after the start hour at which this schedule starts.

This field is required for CREATE operations and is prohibited on UPDATE operations.

endMinute

enum (MinuteOfHour)

Minutes after the end hour at which this schedule ends. The schedule is exclusive of the end minute.

This field is required for CREATE operations and is prohibited on UPDATE operations.

dayOfWeek

enum (DayOfWeek)

Day of the week the schedule applies to.

This field is required for CREATE operations and is prohibited on UPDATE operations.

startHour

integer

Starting hour in 24 hour time. This field must be between 0 and 23, inclusive.

This field is required for CREATE operations and is prohibited on UPDATE operations.

endHour

integer

Ending hour in 24 hour time; 24 signifies end of the day. This field must be between 0 and 24, inclusive.

This field is required for CREATE operations and is prohibited on UPDATE operations.

MinuteOfHour

Enumerates of quarter-hours. For example, "FIFTEEN"

Enums
UNSPECIFIEDNot specified.
UNKNOWNThe value is unknown in this version.
ZEROZero minutes past the hour.
FIFTEENFifteen minutes past the hour.
THIRTYThirty minutes past the hour.
FORTY_FIVEForty-five minutes past the hour.

DayOfWeek

Enumerates days of the week, for example, "Monday".

Enums
UNSPECIFIEDNot specified.
UNKNOWNThe value is unknown in this version.
MONDAYMonday.
TUESDAYTuesday.
WEDNESDAYWednesday.
THURSDAYThursday.
FRIDAYFriday.
SATURDAYSaturday.
SUNDAYSunday.

UnifiedSitelinkAsset

A unified sitelink asset.

JSON representation
{"linkText":string,"description1":string,"description2":string,"startDate":string,"endDate":string,"adScheduleTargets":[{object (AdScheduleInfo)}],"trackingId":string,"useSearcherTimeZone":boolean,"mobilePreferred":boolean}
Fields
linkText

string

URL display text for the sitelink. The length of this string should be between 1 and 25, inclusive.

description1

string

First line of the description for the sitelink. If set, the length should be between 1 and 35, inclusive, and description2 must also be set.

description2

string

Second line of the description for the sitelink. If set, the length should be between 1 and 35, inclusive, and description1 must also be set.

startDate

string

Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format.

endDate

string

Last date of when this asset is effective and still serving, in yyyy-MM-dd format.

adScheduleTargets[]

object (AdScheduleInfo)

List of non-overlapping schedules specifying all time intervals for which the asset may serve. There can be a maximum of 6 schedules per day, 42 in total.

trackingId

string (int64 format)

ID used for tracking clicks for the sitelink asset. This is a Yahoo! Japan only field.

useSearcherTimeZone

boolean

Whether to show the sitelink asset in search user's time zone. Applies to Microsoft Ads.

mobilePreferred

boolean

Whether the preference is for the sitelink asset to be displayed on mobile devices. Applies to Microsoft Ads.

UnifiedPageFeedAsset

A Unified Page Feed asset.

JSON representation
{"pageUrl":string,"labels":[string]}
Fields
pageUrl

string

The webpage that advertisers want to target.

labels[]

string

Labels used to group the page urls.

MobileAppAsset

An asset representing a mobile app.

JSON representation
{"appId":string,"appStore":enum (MobileAppVendor)}
Fields
appId

string

Required. A string that uniquely identifies a mobile application. It should just contain the platform native id, like "com.android.ebay" for Android or "12345689" for iOS.

appStore

enum (MobileAppVendor)

Required. The application store that distributes this specific app.

MobileAppVendor

The type of mobile app vendor

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
APPLE_APP_STOREMobile app vendor for Apple app store.
GOOGLE_APP_STOREMobile app vendor for Google app store.

UnifiedCallAsset

A unified call asset.

JSON representation
{"countryCode":string,"phoneNumber":string,"callConversionReportingState":enum (CallConversionReportingState),"callConversionAction":string,"adScheduleTargets":[{object (AdScheduleInfo)}],"callOnly":boolean,"callTrackingEnabled":boolean,"useSearcherTimeZone":boolean,"startDate":string,"endDate":string}
Fields
countryCode

string

Two-letter country code of the phone number. Examples: 'US', 'us'.

phoneNumber

string

The advertiser's raw phone number. Examples: '1234567890', '(123)456-7890'

callConversionReportingState

enum (CallConversionReportingState)

Indicates whether this CallAsset should use its own call conversion setting, follow the account level setting, or disable call conversion.

callConversionAction

string

The conversion action to attribute a call conversion to. If not set, the default conversion action is used. This field only has effect if callConversionReportingState is set to USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION.

adScheduleTargets[]

object (AdScheduleInfo)

List of non-overlapping schedules specifying all time intervals for which the asset may serve. There can be a maximum of 6 schedules per day, 42 in total.

callOnly

boolean

Whether the call only shows the phone number without a link to the website. Applies to Microsoft Ads.

callTrackingEnabled

boolean

Whether the call should be enabled on call tracking. Applies to Microsoft Ads.

useSearcherTimeZone

boolean

Whether to show the call extension in search user's time zone. Applies to Microsoft Ads.

startDate

string

Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format.

endDate

string

Last date of when this asset is effective and still serving, in yyyy-MM-dd format.

CallConversionReportingState

Possible data types for a call conversion action state.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
DISABLEDCall conversion action is disabled.
USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTIONCall conversion action will use call conversion type set at the account level.
USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTIONCall conversion action will use call conversion type set at the resource (call only ads/call extensions) level.

CallToActionAsset

A call to action asset.

JSON representation
{"callToAction":enum (CallToActionType)}
Fields
callToAction

enum (CallToActionType)

Call to action.

CallToActionType

Enum describing possible types of call to action.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
LEARN_MOREThe call to action type is learn more.
GET_QUOTEThe call to action type is get quote.
APPLY_NOWThe call to action type is apply now.
SIGN_UPThe call to action type is sign up.
CONTACT_USThe call to action type is contact us.
SUBSCRIBEThe call to action type is subscribe.
DOWNLOADThe call to action type is download.
BOOK_NOWThe call to action type is book now.
SHOP_NOWThe call to action type is shop now.
BUY_NOWThe call to action type is buy now.
DONATE_NOWThe call to action type is donate now.
ORDER_NOWThe call to action type is order now.
PLAY_NOWThe call to action type is play now.
SEE_MOREThe call to action type is see more.
START_NOWThe call to action type is start now.
VISIT_SITEThe call to action type is visit site.
WATCH_NOWThe call to action type is watch now.

UnifiedLocationAsset

A unified location asset.

JSON representation
{"placeId":string,"businessProfileLocations":[{object (BusinessProfileLocation)}],"locationOwnershipType":enum (LocationOwnershipType)}
Fields
placeId

string

Place IDs uniquely identify a place in the Google Places database and on Google Maps. This field is unique for a given customer ID and asset type. Seehttps://developers.google.com/places/web-service/place-id to learn more about Place ID.

businessProfileLocations[]

object (BusinessProfileLocation)

The list of business locations for the customer. This will only be returned if the Location Asset is syncing from the Business Profile account. It is possible to have multiple Business Profile listings under the same account that point to the same Place ID.

locationOwnershipType

enum (LocationOwnershipType)

The type of location ownership. If the type is BUSINESS_OWNER, it will be served as a location extension. If the type is AFFILIATE, it will be served as an affiliate location.

BusinessProfileLocation

Business Profile location data synced from the linked Business Profile account.

JSON representation
{"labels":[string],"storeCode":string,"listingId":string}
Fields
labels[]

string

Advertiser specified label for the location on the Business Profile account. This is synced from the Business Profile account.

storeCode

string

Business Profile store code of this location. This is synced from the Business Profile account.

listingId

string (int64 format)

Listing ID of this Business Profile location. This is synced from the linked Business Profile account.

LocationOwnershipType

Possible types of a location ownership.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
BUSINESS_OWNERBusiness Owner of location(legacy location extension - LE).
AFFILIATEAffiliate location(Third party location extension - ALE).

AssetGroupAsset

AssetGroupAsset is the link between an asset and an asset group. Adding an AssetGroupAsset links an asset with an asset group.

JSON representation
{"resourceName":string,"assetGroup":string,"asset":string,"fieldType":enum (AssetFieldType),"status":enum (AssetLinkStatus)}
Fields
resourceName

string

The resource name of the asset group asset. Asset group asset resource name have the form:

customers/{customerId}/assetGroupAssets/{asset_group_id}~{assetId}~{fieldType}

assetGroup

string

The asset group which this asset group asset is linking.

asset

string

The asset which this asset group asset is linking.

fieldType

enum (AssetFieldType)

The description of the placement of the asset within the asset group. For example: HEADLINE, YOUTUBE_VIDEO etc

status

enum (AssetLinkStatus)

The status of the link between an asset and asset group.

AssetFieldType

Enum describing the possible placements of an asset.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
HEADLINEThe asset is linked for use as a headline.
DESCRIPTIONThe asset is linked for use as a description.
MANDATORY_AD_TEXTThe asset is linked for use as mandatory ad text.
MARKETING_IMAGEThe asset is linked for use as a marketing image.
MEDIA_BUNDLEThe asset is linked for use as a media bundle.
YOUTUBE_VIDEOThe asset is linked for use as a YouTube video.
BOOK_ON_GOOGLEThe asset is linked to indicate that a hotels campaign is "Book on Google" enabled.
LEAD_FORMThe asset is linked for use as a Lead Form extension.
PROMOTIONThe asset is linked for use as a Promotion extension.
CALLOUTThe asset is linked for use as a Callout extension.
STRUCTURED_SNIPPETThe asset is linked for use as a Structured Snippet extension.
SITELINKThe asset is linked for use as a Sitelink.
MOBILE_APPThe asset is linked for use as a Mobile App extension.
HOTEL_CALLOUTThe asset is linked for use as a Hotel Callout extension.
CALLThe asset is linked for use as a Call extension.
PRICEThe asset is linked for use as a Price extension.
LONG_HEADLINEThe asset is linked for use as a long headline.
BUSINESS_NAMEThe asset is linked for use as a business name.
SQUARE_MARKETING_IMAGEThe asset is linked for use as a square marketing image.
PORTRAIT_MARKETING_IMAGEThe asset is linked for use as a portrait marketing image.
LOGOThe asset is linked for use as a logo.
LANDSCAPE_LOGOThe asset is linked for use as a landscape logo.
VIDEOThe asset is linked for use as a non YouTube logo.
CALL_TO_ACTION_SELECTIONThe asset is linked for use to select a call-to-action.
AD_IMAGEThe asset is linked for use to select an ad image.
BUSINESS_LOGOThe asset is linked for use as a business logo.
HOTEL_PROPERTYThe asset is linked for use as a hotel property in a Performance Max for travel goals campaign.
DISCOVERY_CAROUSEL_CARDThe asset is linked for use as a discovery carousel card.
LONG_DESCRIPTIONThe asset is linked for use as a long description.
CALL_TO_ACTIONThe asset is linked for use as a call-to-action.

AssetGroupSignal

AssetGroupSignal represents a signal in an asset group. The existence of a signal tells the performance max campaign who's most likely to convert. Performance Max uses the signal to look for new people with similar or stronger intent to find conversions across Search, Display, Video, and more.

JSON representation
{"resourceName":string,"assetGroup":string,// Union fieldsignal can be only one of the following:"audience":{object (AudienceInfo)}// End of list of possible types for union fieldsignal.}
Fields
resourceName

string

The resource name of the asset group signal. Asset group signal resource name have the form:

customers/{customerId}/assetGroupSignals/{asset_group_id}~{signal_id}

assetGroup

string

The asset group which this asset group signal belongs to.

Union fieldsignal. The signal of the asset group.signal can be only one of the following:
audience

object (AudienceInfo)

The audience signal to be used by the performance max campaign.

AudienceInfo

An audience criterion.

JSON representation
{"audience":string}
Fields
audience

string

The Audience resource name.

AssetGroupListingGroupFilter

AssetGroupListingGroupFilter represents a listing group filter tree node in an asset group.

JSON representation
{"resourceName":string,"assetGroup":string,"id":string,"type":enum (ListingGroupFilterType),"vertical":enum (ListingGroupFilterVertical),"caseValue":{object (ListingGroupFilterDimension)},"parentListingGroupFilter":string,"path":{object (ListingGroupFilterDimensionPath)}}
Fields
resourceName

string

The resource name of the asset group listing group filter. Asset group listing group filter resource name have the form:

customers/{customerId}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}

assetGroup

string

The asset group which this asset group listing group filter is part of.

id

string (int64 format)

The ID of the ListingGroupFilter.

type

enum (ListingGroupFilterType)

Type of a listing group filter node.

vertical

enum (ListingGroupFilterVertical)

The vertical the current node tree represents. All nodes in the same tree must belong to the same vertical.

caseValue

object (ListingGroupFilterDimension)

Dimension value with which this listing group is refining its parent. Undefined for the root group.

parentListingGroupFilter

string

Resource name of the parent listing group subdivision. Null for the root listing group filter node.

path

object (ListingGroupFilterDimensionPath)

The path of dimensions defining this listing group filter.

ListingGroupFilterType

The type of the listing group filter.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
SUBDIVISIONSubdivision of products along some listing dimensions.
UNIT_INCLUDEDAn included listing group filter leaf node.
UNIT_EXCLUDEDAn excluded listing group filter leaf node.

ListingGroupFilterVertical

The type of the listing group filter vertical.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
SHOPPINGRepresents the shopping vertical. The vertical is allowed only in Performance Max for Retail campaigns.

ListingGroupFilterDimension

Listing dimensions for the asset group listing group filter.

JSON representation
{// Union fielddimension can be only one of the following:"productBiddingCategory":{object (ProductBiddingCategory)},"productBrand":{object (ProductBrand)},"productChannel":{object (ProductChannel)},"productCondition":{object (ProductCondition)},"productCustomAttribute":{object (ProductCustomAttribute)},"productItemId":{object (ProductItemId)},"productType":{object (ProductType)}// End of list of possible types for union fielddimension.}
Fields
Union fielddimension. Dimension of one of the types below is always present.dimension can be only one of the following:
productBiddingCategory

object (ProductBiddingCategory)

Bidding category of a product offer.

productBrand

object (ProductBrand)

Brand of a product offer.

productChannel

object (ProductChannel)

Locality of a product offer.

productCondition

object (ProductCondition)

Condition of a product offer.

productCustomAttribute

object (ProductCustomAttribute)

Custom attribute of a product offer.

productItemId

object (ProductItemId)

Item id of a product offer.

productType

object (ProductType)

Type of a product offer.

ProductBiddingCategory

One element of a bidding category at a certain level. Top-level categories are at level 1, their children at level 2, and so on. We currently support up to 5 levels. The user must specify a dimension type that indicates the level of the category. All cases of the same subdivision must have the same dimension type (category level).

JSON representation
{"level":enum (ListingGroupFilterBiddingCategoryLevel),"id":string}
Fields
level

enum (ListingGroupFilterBiddingCategoryLevel)

Indicates the level of the category in the taxonomy.

id

string (int64 format)

ID of the product bidding category.

This ID is equivalent to the google_product_category ID as described in this article:https://support.google.com/merchants/answer/6324436

ListingGroupFilterBiddingCategoryLevel

The level of the listing group filter bidding category.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
LEVEL1Level 1.
LEVEL2Level 2.
LEVEL3Level 3.
LEVEL4Level 4.
LEVEL5Level 5.

ProductBrand

Brand of the product.

JSON representation
{"value":string}
Fields
value

string

String value of the product brand.

ProductChannel

Locality of a product offer.

JSON representation
{"channel":enum (ListingGroupFilterProductChannel)}
Fields
channel

enum (ListingGroupFilterProductChannel)

Value of the locality.

ListingGroupFilterProductChannel

Enum describing the locality of a product offer.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
ONLINEThe item is sold online.
LOCALThe item is sold in local stores.

ProductCondition

Condition of a product offer.

JSON representation
{"condition":enum (ListingGroupFilterProductCondition)}
Fields
condition

enum (ListingGroupFilterProductCondition)

Value of the condition.

ListingGroupFilterProductCondition

Enum describing the condition of a product offer.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
NEWThe product condition is new.
REFURBISHEDThe product condition is refurbished.
USEDThe product condition is used.

ProductCustomAttribute

Custom attribute of a product offer.

JSON representation
{"index":enum (ListingGroupFilterCustomAttributeIndex),"value":string}
Fields
index

enum (ListingGroupFilterCustomAttributeIndex)

Indicates the index of the custom attribute.

value

string

String value of the product custom attribute.

ListingGroupFilterCustomAttributeIndex

The index of customer attributes.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
INDEX0First listing group filter custom attribute.
INDEX1Second listing group filter custom attribute.
INDEX2Third listing group filter custom attribute.
INDEX3Fourth listing group filter custom attribute.
INDEX4Fifth listing group filter custom attribute.

ProductItemId

Item id of a product offer.

JSON representation
{"value":string}
Fields
value

string

Value of the id.

ProductType

Type of a product offer.

JSON representation
{"level":enum (ListingGroupFilterProductTypeLevel),"value":string}
Fields
level

enum (ListingGroupFilterProductTypeLevel)

Level of the type.

value

string

Value of the type.

ListingGroupFilterProductTypeLevel

Enum describing the level of the type of a product offer.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
LEVEL1Level 1.
LEVEL2Level 2.
LEVEL3Level 3.
LEVEL4Level 4.
LEVEL5Level 5.

ListingGroupFilterDimensionPath

The path defining of dimensions defining a listing group filter.

JSON representation
{"dimensions":[{object (ListingGroupFilterDimension)}]}
Fields
dimensions[]

object (ListingGroupFilterDimension)

The complete path of dimensions through the listing group filter hierarchy (excluding the root node) to this listing group filter.

AssetGroupTopCombinationView

A view on the usage of asset group asset top combinations.

JSON representation
{"resourceName":string,"assetGroupTopCombinations":[{object (AssetGroupAssetCombinationData)}]}
Fields
resourceName

string

The resource name of the asset group top combination view. AssetGroup Top Combination view resource names have the form: `"customers/{customerId}/assetGroupTopCombinationViews/{asset_group_id}~{asset_combination_category}"

assetGroupTopCombinations[]

object (AssetGroupAssetCombinationData)

The top combinations of assets that served together.

AssetGroupAssetCombinationData

Asset group asset combination data

JSON representation
{"assetCombinationServedAssets":[{object (AssetUsage)}]}
Fields
assetCombinationServedAssets[]

object (AssetUsage)

Served assets.

AssetUsage

Contains the usage information of the asset.

JSON representation
{"asset":string,"servedAssetFieldType":enum (ServedAssetFieldType)}
Fields
asset

string

Resource name of the asset.

servedAssetFieldType

enum (ServedAssetFieldType)

The served field type of the asset.

ServedAssetFieldType

The possible asset field types.

Enums
UNSPECIFIEDNo value has been specified.
UNKNOWN

The received value is not known in this version.

This is a response-only value.

HEADLINE_1The asset is used in headline 1.
HEADLINE_2The asset is used in headline 2.
HEADLINE_3The asset is used in headline 3.
DESCRIPTION_1The asset is used in description 1.
DESCRIPTION_2The asset is used in description 2.
HEADLINEThe asset was used in a headline. Use this only if there is only one headline in the ad. Otherwise, use the HEADLINE_1, HEADLINE_2 or HEADLINE_3 enums
HEADLINE_IN_PORTRAITThe asset was used as a headline in portrait image.
LONG_HEADLINEThe asset was used in a long headline (used in MultiAssetResponsiveAd).
DESCRIPTIONThe asset was used in a description. Use this only if there is only one description in the ad. Otherwise, use the DESCRIPTION_1 or DESCRIPTION_@ enums
DESCRIPTION_IN_PORTRAITThe asset was used as description in portrait image.
BUSINESS_NAME_IN_PORTRAITThe asset was used as business name in portrait image.
BUSINESS_NAMEThe asset was used as business name.
MARKETING_IMAGEThe asset was used as a marketing image.
MARKETING_IMAGE_IN_PORTRAITThe asset was used as a marketing image in portrait image.
SQUARE_MARKETING_IMAGEThe asset was used as a square marketing image.
PORTRAIT_MARKETING_IMAGEThe asset was used as a portrait marketing image.
LOGOThe asset was used as a logo.
LANDSCAPE_LOGOThe asset was used as a landscape logo.
CALL_TO_ACTIONThe asset was used as a call-to-action.
YOU_TUBE_VIDEOThe asset was used as a YouTube video.
SITELINKThis asset is used as a sitelink.
CALLThis asset is used as a call.
MOBILE_APPThis asset is used as a mobile app.
CALLOUTThis asset is used as a callout.
STRUCTURED_SNIPPETThis asset is used as a structured snippet.
PRICEThis asset is used as a price.
PROMOTIONThis asset is used as a promotion.
AD_IMAGEThis asset is used as an image.
LEAD_FORMThe asset is used as a lead form.
BUSINESS_LOGOThe asset is used as a business logo.
DESCRIPTION_PREFIXThe asset is used as a description prefix.

AssetGroup

An asset group. AssetGroupAsset is used to link an asset to the asset group. AssetGroupSignal is used to associate a signal to an asset group.

JSON representation
{"resourceName":string,"id":string,"campaign":string,"name":string,"finalUrls":[string],"finalMobileUrls":[string],"status":enum (AssetGroupStatus),"path1":string,"path2":string,"adStrength":enum (AdStrength)}
Fields
resourceName

string

The resource name of the asset group. Asset group resource names have the form:

customers/{customerId}/assetGroups/{asset_group_id}

id

string (int64 format)

The ID of the asset group.

campaign

string

The campaign with which this asset group is associated. The asset which is linked to the asset group.

name

string

Required. Name of the asset group. Required. It must have a minimum length of 1 and maximum length of 128. It must be unique under a campaign.

finalUrls[]

string

A list of final URLs after all cross domain redirects. In performance max, by default, the urls are eligible for expansion unless opted out.

finalMobileUrls[]

string

A list of final mobile URLs after all cross domain redirects. In performance max, by default, the urls are eligible for expansion unless opted out.

status

enum (AssetGroupStatus)

The status of the asset group.

path1

string

First part of text that may appear appended to the url displayed in the ad.

path2

string

Second part of text that may appear appended to the url displayed in the ad. This field can only be set when path1 is set.

adStrength

enum (AdStrength)

Overall ad strength of this asset group.

AssetGroupStatus

The possible statuses of an asset group.

Enums
UNSPECIFIEDThe status has not been specified.
UNKNOWNThe received value is not known in this version.
ENABLEDThe asset group is enabled.
PAUSEDThe asset group is paused.
REMOVEDThe asset group is removed.

AdStrength

Enum listing the possible ad strengths.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
PENDINGThe ad strength is currently pending.
NO_ADSNo ads could be generated.
POORPoor strength.
AVERAGEAverage strength.
GOODGood strength.
EXCELLENTExcellent strength.

AssetSetAsset

AssetSetAsset is the link between an asset and an asset set. Adding an AssetSetAsset links an asset with an asset set.

JSON representation
{"resourceName":string,"assetSet":string,"asset":string,"status":enum (AssetSetAssetStatus)}
Fields
resourceName

string

The resource name of the asset set asset. Asset set asset resource names have the form:

customers/{customerId}/assetSetAssets/{asset_set_id}~{assetId}

assetSet

string

The asset set which this asset set asset is linking to.

asset

string

The asset which this asset set asset is linking to.

status

enum (AssetSetAssetStatus)

The status of the asset set asset. Read-only.

AssetSetAssetStatus

The possible statuses of an asset set asset.

Enums
UNSPECIFIEDThe status has not been specified.
UNKNOWNThe received value is not known in this version. This is a response-only value.
ENABLEDThe asset set asset is enabled.
REMOVEDThe asset set asset is removed.

AssetSet

An asset set representing a collection of assets. Use AssetSetAsset to link an asset to the asset set.

JSON representation
{"id":string,"resourceName":string}
Fields
id

string (int64 format)

The ID of the asset set.

resourceName

string

The resource name of the asset set. Asset set resource names have the form:

customers/{customerId}/assetSets/{asset_set_id}

BiddingStrategy

A bidding strategy.

JSON representation
{"resourceName":string,"status":enum (BiddingStrategyStatus),"type":enum (BiddingStrategyType),"currencyCode":string,"id":string,"name":string,"effectiveCurrencyCode":string,"campaignCount":string,"nonRemovedCampaignCount":string,// Union fieldscheme can be only one of the following:"enhancedCpc":{object (EnhancedCpc)},"maximizeConversionValue":{object (MaximizeConversionValue)},"maximizeConversions":{object (MaximizeConversions)},"targetCpa":{object (TargetCpa)},"targetImpressionShare":{object (TargetImpressionShare)},"targetOutrankShare":{object (TargetOutrankShare)},"targetRoas":{object (TargetRoas)},"targetSpend":{object (TargetSpend)}// End of list of possible types for union fieldscheme.}
Fields
resourceName

string

The resource name of the bidding strategy. Bidding strategy resource names have the form:

customers/{customerId}/biddingStrategies/{bidding_strategy_id}

status

enum (BiddingStrategyStatus)

The status of the bidding strategy.

This field is read-only.

type

enum (BiddingStrategyType)

The type of the bidding strategy. Create a bidding strategy by setting the bidding scheme.

This field is read-only.

currencyCode

string

The currency used by the bidding strategy (ISO 4217 three-letter code).

For bidding strategies in manager customers, this currency can be set on creation and defaults to the manager customer's currency. For serving customers, this field cannot be set; all strategies in a serving customer implicitly use the serving customer's currency. In all cases the effectiveCurrencyCode field returns the currency used by the strategy.

id

string (int64 format)

The ID of the bidding strategy.

name

string

The name of the bidding strategy. All bidding strategies within an account must be named distinctly.

The length of this string should be between 1 and 255, inclusive, in UTF-8 bytes, (trimmed).

effectiveCurrencyCode

string

The currency used by the bidding strategy (ISO 4217 three-letter code).

For bidding strategies in manager customers, this is the currency set by the advertiser when creating the strategy. For serving customers, this is the customer's currencyCode.

Bidding strategy metrics are reported in this currency.

This field is read-only.

campaignCount

string (int64 format)

The number of campaigns attached to this bidding strategy.

This field is read-only.

nonRemovedCampaignCount

string (int64 format)

The number of non-removed campaigns attached to this bidding strategy.

This field is read-only.

Union fieldscheme. The bidding scheme.

Only one can be set.scheme can be only one of the following:

enhancedCpc

object (EnhancedCpc)

A bidding strategy that raises bids for clicks that seem more likely to lead to a conversion and lowers them for clicks where they seem less likely.

maximizeConversionValue

object (MaximizeConversionValue)

An automated bidding strategy to help get the most conversion value for your campaigns while spending your budget.

maximizeConversions

object (MaximizeConversions)

An automated bidding strategy to help get the most conversions for your campaigns while spending your budget.

targetCpa

object (TargetCpa)

A bidding strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.

targetImpressionShare

object (TargetImpressionShare)

A bidding strategy that automatically optimizes towards a chosen percentage of impressions.

targetOutrankShare

object (TargetOutrankShare)

A bidding strategy that sets bids based on the target fraction of auctions where the advertiser should outrank a specific competitor. This field is deprecated. Creating a new bidding strategy with this field or attaching bidding strategies with this field to a campaign will fail. Mutates to strategies that already have this scheme populated are allowed.

targetRoas

object (TargetRoas)

A bidding strategy that helps you maximize revenue while averaging a specific target Return On Ad Spend (ROAS).

targetSpend

object (TargetSpend)

A bid strategy that sets your bids to help get as many clicks as possible within your budget.

BiddingStrategyStatus

The possible statuses of a BiddingStrategy.

Enums
UNSPECIFIEDNo value has been specified.
UNKNOWN

The received value is not known in this version.

This is a response-only value.

ENABLEDThe bidding strategy is enabled.
REMOVEDThe bidding strategy is removed.

BiddingStrategyType

Enum describing possible bidding strategy types.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
COMMISSIONCommission is an automatic bidding strategy in which the advertiser pays a certain portion of the conversion value.
ENHANCED_CPCEnhanced CPC is a bidding strategy that raises bids for clicks that seem more likely to lead to a conversion and lowers them for clicks where they seem less likely.
INVALIDUsed for return value only. Indicates that a campaign does not have a bidding strategy. This prevents the campaign from serving. For example, a campaign may be attached to a manager bidding strategy and the serving account is subsequently unlinked from the manager account. In this case the campaign will automatically be detached from the now inaccessible manager bidding strategy and transition to the INVALID bidding strategy type.
MANUAL_CPAManual bidding strategy that allows advertiser to set the bid per advertiser-specified action.
MANUAL_CPCManual click based bidding where user pays per click.
MANUAL_CPMManual impression based bidding where user pays per thousand impressions.
MANUAL_CPVA bidding strategy that pays a configurable amount per video view.
MAXIMIZE_CONVERSIONSA bidding strategy that automatically maximizes number of conversions given a daily budget.
MAXIMIZE_CONVERSION_VALUEAn automated bidding strategy that automatically sets bids to maximize revenue while spending your budget.
PAGE_ONE_PROMOTEDPage-One Promoted bidding scheme, which sets max cpc bids to target impressions on page one or page one promoted slots on google.com. This enum value is deprecated.
PERCENT_CPCPercent Cpc is bidding strategy where bids are a fraction of the advertised price for some good or service.
TARGET_CPATarget CPA is an automated bid strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.
TARGET_CPMTarget CPM is an automated bid strategy that sets bids to help get as many impressions as possible at the target cost per one thousand impressions (CPM) you set.
TARGET_IMPRESSION_SHAREAn automated bidding strategy that sets bids so that a certain percentage of search ads are shown at the top of the first page (or other targeted location).
TARGET_OUTRANK_SHARETarget Outrank Share is an automated bidding strategy that sets bids based on the target fraction of auctions where the advertiser should outrank a specific competitor. This enum value is deprecated.
TARGET_ROASTarget ROAS is an automated bidding strategy that helps you maximize revenue while averaging a specific target Return On Average Spend (ROAS).
TARGET_SPENDTarget Spend is an automated bid strategy that sets your bids to help get as many clicks as possible within your budget.

EnhancedCpc

This type has no fields.

An automated bidding strategy that raises bids for clicks that seem more likely to lead to a conversion and lowers them for clicks where they seem less likely.

This bidding strategy is deprecated and cannot be created anymore. Use ManualCpc with enhancedCpcEnabled set to true for equivalent functionality.

MaximizeConversionValue

An automated bidding strategy to help get the most conversion value for your campaigns while spending your budget.

JSON representation
{"cpcBidCeilingMicros":string,"cpcBidFloorMicros":string,"targetRoas":number}
Fields
cpcBidCeilingMicros

string (int64 format)

Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. Mutable for portfolio bidding strategies only.

cpcBidFloorMicros

string (int64 format)

Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. Mutable for portfolio bidding strategies only.

targetRoas

number

The target return on ad spend (ROAS) option. If set, the bid strategy will maximize revenue while averaging the target return on ad spend. If the target ROAS is high, the bid strategy may not be able to spend the full budget. If the target ROAS is not set, the bid strategy will aim to achieve the highest possible ROAS for the budget.

MaximizeConversions

An automated bidding strategy to help get the most conversions for your campaigns while spending your budget.

JSON representation
{"cpcBidCeilingMicros":string,"cpcBidFloorMicros":string,"targetCpaMicros":string}
Fields
cpcBidCeilingMicros

string (int64 format)

Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. Mutable for portfolio bidding strategies only.

cpcBidFloorMicros

string (int64 format)

Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. Mutable for portfolio bidding strategies only.

targetCpaMicros

string (int64 format)

The target cost-per-action (CPA) option. This is the average amount that you would like to spend per conversion action specified in micro units of the bidding strategy's currency. If set, the bid strategy will get as many conversions as possible at or below the target cost-per-action. If the target CPA is not set, the bid strategy will aim to achieve the lowest possible CPA given the budget.

TargetCpa

An automated bid strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.

JSON representation
{"targetCpaMicros":string,"cpcBidCeilingMicros":string,"cpcBidFloorMicros":string}
Fields
targetCpaMicros

string (int64 format)

Average CPA target. This target should be greater than or equal to minimum billable unit based on the currency for the account.

cpcBidCeilingMicros

string (int64 format)

Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. This should only be set for portfolio bid strategies.

cpcBidFloorMicros

string (int64 format)

Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. This should only be set for portfolio bid strategies.

TargetImpressionShare

An automated bidding strategy that sets bids so that a certain percentage of search ads are shown at the top of the first page (or other targeted location).

JSON representation
{"location":enum (TargetImpressionShareLocation),"locationFractionMicros":string,"cpcBidCeilingMicros":string}
Fields
location

enum (TargetImpressionShareLocation)

The targeted location on the search results page.

locationFractionMicros

string (int64 format)

The chosen fraction of ads to be shown in the targeted location in micros. For example, 1% equals 10,000.

cpcBidCeilingMicros

string (int64 format)

The highest CPC bid the automated bidding system is permitted to specify. This is a required field entered by the advertiser that sets the ceiling and specified in local micros.

TargetImpressionShareLocation

Enum describing possible goals.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
ANYWHERE_ON_PAGEAny location on the web page.
TOP_OF_PAGETop box of ads.
ABSOLUTE_TOP_OF_PAGETop slot in the top box of ads.

TargetOutrankShare

An automated bidding strategy that sets bids based on the target fraction of auctions where the advertiser should outrank a specific competitor. This strategy is deprecated.

JSON representation
{"cpcBidCeilingMicros":string}
Fields
cpcBidCeilingMicros

string (Int64Value format)

Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy.

TargetRoas

An automated bidding strategy that helps you maximize revenue while averaging a specific target return on ad spend (ROAS).

JSON representation
{"targetRoas":number,"cpcBidCeilingMicros":string,"cpcBidFloorMicros":string}
Fields
targetRoas

number

Required. The chosen revenue (based on conversion data) per unit of spend. Value must be between 0.01 and 1000.0, inclusive.

cpcBidCeilingMicros

string (int64 format)

Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. This should only be set for portfolio bid strategies.

cpcBidFloorMicros

string (int64 format)

Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. This should only be set for portfolio bid strategies.

TargetSpend

An automated bid strategy that sets your bids to help get as many clicks as possible within your budget.

JSON representation
{"targetSpendMicros":string,"cpcBidCeilingMicros":string}
Fields
targetSpendMicros
(deprecated)

string (int64 format)

This item is deprecated!

Deprecated: The spend target under which to maximize clicks. A TargetSpend bidder will attempt to spend the smaller of this value or the natural throttling spend amount. If not specified, the budget is used as the spend target. This field is deprecated and should no longer be used. Seehttps://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html for details.

cpcBidCeilingMicros

string (int64 format)

Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy.

CampaignBudget

A campaign budget.

JSON representation
{"resourceName":string,"deliveryMethod":enum (BudgetDeliveryMethod),"period":enum (BudgetPeriod),"amountMicros":string}
Fields
resourceName

string

The resource name of the campaign budget. Campaign budget resource names have the form:

customers/{customerId}/campaignBudgets/{campaign_budget_id}

deliveryMethod

enum (BudgetDeliveryMethod)

The delivery method that determines the rate at which the campaign budget is spent.

Defaults to STANDARD if unspecified in a create operation.

period

enum (BudgetPeriod)

Period over which to spend the budget. Defaults to DAILY if not specified.

amountMicros

string (int64 format)

The amount of the budget, in the local currency for the account. Amount is specified in micros, where one million is equivalent to one currency unit. Monthly spend is capped at 30.4 times this amount.

BudgetDeliveryMethod

Possible delivery methods of a Budget.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
STANDARDThe budget server will throttle serving evenly across the entire time period.
ACCELERATEDThe budget server will not throttle serving, and ads will serve as fast as possible.

BudgetPeriod

Possible period of a Budget.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
DAILYDaily budget.
FIXED_DAILYFixed daily budget.
CUSTOM_PERIODCustom budget can be used with total_amount to specify lifetime budget limit.

Campaign

A campaign.

JSON representation
{"resourceName":string,"status":enum (CampaignStatus),"servingStatus":enum (CampaignServingStatus),"biddingStrategySystemStatus":enum (BiddingStrategySystemStatus),"adServingOptimizationStatus":enum (AdServingOptimizationStatus),"advertisingChannelType":enum (AdvertisingChannelType),"advertisingChannelSubType":enum (AdvertisingChannelSubType),"urlCustomParameters":[{object (CustomParameter)}],"realTimeBiddingSetting":{object (RealTimeBiddingSetting)},"networkSettings":{object (NetworkSettings)},"dynamicSearchAdsSetting":{object (DynamicSearchAdsSetting)},"shoppingSetting":{object (ShoppingSetting)},"geoTargetTypeSetting":{object (GeoTargetTypeSetting)},"effectiveLabels":[string],"labels":[string],"biddingStrategyType":enum (BiddingStrategyType),"accessibleBiddingStrategy":string,"frequencyCaps":[{object (FrequencyCapEntry)}],"selectiveOptimization":{object (SelectiveOptimization)},"optimizationGoalSetting":{object (OptimizationGoalSetting)},"trackingSetting":{object (TrackingSetting)},"engineId":string,"excludedParentAssetFieldTypes":[enum (AssetFieldType)],"createTime":string,"creationTime":string,"lastModifiedTime":string,"feedTypes":[enum (AssetSetType)],"id":string,"name":string,"trackingUrlTemplate":string,"campaignBudget":string,"startDate":string,"endDate":string,"finalUrlSuffix":string,"urlExpansionOptOut":boolean,// Union fieldcampaign_bidding_strategy can be only one of the following:"biddingStrategy":string,"manualCpa":{object (ManualCpa)},"manualCpc":{object (ManualCpc)},"manualCpm":{object (ManualCpm)},"maximizeConversions":{object (MaximizeConversions)},"maximizeConversionValue":{object (MaximizeConversionValue)},"targetCpa":{object (TargetCpa)},"targetImpressionShare":{object (TargetImpressionShare)},"targetRoas":{object (TargetRoas)},"targetSpend":{object (TargetSpend)},"percentCpc":{object (PercentCpc)},"targetCpm":{object (TargetCpm)}// End of list of possible types for union fieldcampaign_bidding_strategy.}
Fields
resourceName

string

The resource name of the campaign. Campaign resource names have the form:

customers/{customerId}/campaigns/{campaign_id}

status

enum (CampaignStatus)

The status of the campaign.

When a new campaign is added, the status defaults to ENABLED.

servingStatus

enum (CampaignServingStatus)

The ad serving status of the campaign.

biddingStrategySystemStatus

enum (BiddingStrategySystemStatus)

The system status of the campaign's bidding strategy.

adServingOptimizationStatus

enum (AdServingOptimizationStatus)

The ad serving optimization status of the campaign.

advertisingChannelType

enum (AdvertisingChannelType)

The primary serving target for ads within the campaign. The targeting options can be refined innetworkSettings.

This field is required and should not be empty when creating new campaigns.

Can be set only when creating campaigns. After the campaign is created, the field can not be changed.

advertisingChannelSubType

enum (AdvertisingChannelSubType)

Optional refinement toadvertisingChannelType. Must be a valid sub-type of the parent channel type.

Can be set only when creating campaigns. After campaign is created, the field can not be changed.

urlCustomParameters[]

object (CustomParameter)

The list of mappings used to substitute custom parameter tags in atrackingUrlTemplate,finalUrls, ormobile_final_urls.

realTimeBiddingSetting

object (RealTimeBiddingSetting)

Settings for Real-Time Bidding, a feature only available for campaigns targeting the Ad Exchange network.

networkSettings

object (NetworkSettings)

The network settings for the campaign.

dynamicSearchAdsSetting

object (DynamicSearchAdsSetting)

The setting for controlling Dynamic Search Ads (DSA).

shoppingSetting

object (ShoppingSetting)

The setting for controlling Shopping campaigns.

geoTargetTypeSetting

object (GeoTargetTypeSetting)

The setting for ads geotargeting.

effectiveLabels[]

string

The resource names of effective labels attached to this campaign. An effective label is a label inherited or directly assigned to this campaign.

labels[]

string

The resource names of labels attached to this campaign.

biddingStrategyType

enum (BiddingStrategyType)

The type of bidding strategy.

A bidding strategy can be created by setting either the bidding scheme to create a standard bidding strategy or thebiddingStrategy field to create a portfolio bidding strategy.

This field is read-only.

accessibleBiddingStrategy

string

Resource name of AccessibleBiddingStrategy, a read-only view of the unrestricted attributes of the attached portfolio bidding strategy identified by 'biddingStrategy'. Empty, if the campaign does not use a portfolio strategy. Unrestricted strategy attributes are available to all customers with whom the strategy is shared and are read from the AccessibleBiddingStrategy resource. In contrast, restricted attributes are only available to the owner customer of the strategy and their managers. Restricted attributes can only be read from the BiddingStrategy resource.

frequencyCaps[]

object (FrequencyCapEntry)

A list that limits how often each user will see this campaign's ads.

selectiveOptimization

object (SelectiveOptimization)

Selective optimization setting for this campaign, which includes a set of conversion actions to optimize this campaign towards. This feature only applies to app campaigns that use MULTI_CHANNEL as AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as AdvertisingChannelSubType.

optimizationGoalSetting

object (OptimizationGoalSetting)

Optimization goal setting for this campaign, which includes a set of optimization goal types.

trackingSetting

object (TrackingSetting)

Campaign-level settings for tracking information.

engineId

string

ID of the campaign in the external engine account. This field is for non-Google Ads account only, for example, Yahoo Japan, Microsoft, Baidu etc. For Google Ads entity, use "campaign.id" instead.

excludedParentAssetFieldTypes[]

enum (AssetFieldType)

The asset field types that should be excluded from this campaign. Asset links with these field types will not be inherited by this campaign from the upper level.

createTime

string

The timestamp when this campaign was created. The timestamp is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format. createTime will be deprecated in v1. Use creationTime instead.

creationTime

string

The timestamp when this campaign was created. The timestamp is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.

lastModifiedTime

string

The datetime when this campaign was last modified. The datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format.

feedTypes[]

enum (AssetSetType)

Types of feeds that are attached directly to this campaign.

id

string (int64 format)

The ID of the campaign.

name

string

The name of the campaign.

This field is required and should not be empty when creating new campaigns.

It must not contain any null (code point 0x0), NL line feed (code point 0xA) or carriage return (code point 0xD) characters.

trackingUrlTemplate

string

The URL template for constructing a tracking URL.

campaignBudget

string

The resource name of the campaign budget of the campaign.

startDate

string

The date when campaign started in serving customer's timezone in YYYY-MM-DD format.

endDate

string

The last day of the campaign in serving customer's timezone in YYYY-MM-DD format. On create, defaults to 2037-12-30, which means the campaign will run indefinitely. To set an existing campaign to run indefinitely, set this field to 2037-12-30.

finalUrlSuffix

string

Suffix used to append query parameters to landing pages that are served with parallel tracking.

urlExpansionOptOut

boolean

Represents opting out of URL expansion to more targeted URLs. If opted out (true), only the final URLs in the asset group or URLs specified in the advertiser's Google Merchant Center or business data feeds are targeted. If opted in (false), the entire domain will be targeted. This field can only be set for Performance Max campaigns, where the default value is false.

Union fieldcampaign_bidding_strategy. The bidding strategy for the campaign.

Must be either portfolio (created through BiddingStrategy service) or standard, that is embedded into the campaign.campaign_bidding_strategy can be only one of the following:

biddingStrategy

string

The resource name of the portfolio bidding strategy used by the campaign.

manualCpa

object (ManualCpa)

Standard Manual CPA bidding strategy. Manual bidding strategy that allows advertiser to set the bid per advertiser-specified action. Supported only for Local Services campaigns.

manualCpc

object (ManualCpc)

Standard Manual CPC bidding strategy. Manual click-based bidding where user pays per click.

manualCpm

object (ManualCpm)

Standard Manual CPM bidding strategy. Manual impression-based bidding where user pays per thousand impressions.

maximizeConversions

object (MaximizeConversions)

Standard Maximize Conversions bidding strategy that automatically maximizes number of conversions while spending your budget.

maximizeConversionValue

object (MaximizeConversionValue)

Standard Maximize Conversion Value bidding strategy that automatically sets bids to maximize revenue while spending your budget.

targetCpa

object (TargetCpa)

Standard Target CPA bidding strategy that automatically sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.

targetImpressionShare

object (TargetImpressionShare)

Target Impression Share bidding strategy. An automated bidding strategy that sets bids to achieve a chosen percentage of impressions.

targetRoas

object (TargetRoas)

Standard Target ROAS bidding strategy that automatically maximizes revenue while averaging a specific target return on ad spend (ROAS).

targetSpend

object (TargetSpend)

Standard Target Spend bidding strategy that automatically sets your bids to help get as many clicks as possible within your budget.

percentCpc

object (PercentCpc)

Standard Percent Cpc bidding strategy where bids are a fraction of the advertised price for some good or service.

targetCpm

object (TargetCpm)

A bidding strategy that automatically optimizes cost per thousand impressions.

CampaignStatus

Possible statuses of a campaign.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
ENABLEDCampaign is active and can show ads.
PAUSEDCampaign has been paused by the user.
REMOVEDCampaign has been removed.

CampaignServingStatus

Possible serving statuses of a campaign.

Enums
UNSPECIFIEDNo value has been specified.
UNKNOWN

The received value is not known in this version.

This is a response-only value.

SERVINGServing.
NONENone.
ENDEDEnded.
PENDINGPending.
SUSPENDEDSuspended.

BiddingStrategySystemStatus

The possible system statuses of a BiddingStrategy.

Enums
UNSPECIFIEDSignals that an unexpected error occurred, for example, no bidding strategy type was found, or no status information was found.
UNKNOWNUsed for return value only. Represents value unknown in this version.
ENABLEDThe bid strategy is active, and AdWords cannot find any specific issues with the strategy.
LEARNING_NEWThe bid strategy is learning because it has been recently created or recently reactivated.
LEARNING_SETTING_CHANGEThe bid strategy is learning because of a recent setting change.
LEARNING_BUDGET_CHANGEThe bid strategy is learning because of a recent budget change.
LEARNING_COMPOSITION_CHANGEThe bid strategy is learning because of recent change in number of campaigns, ad groups or keywords attached to it.
LEARNING_CONVERSION_TYPE_CHANGEThe bid strategy depends on conversion reporting and the customer recently modified conversion types that were relevant to the bid strategy.
LEARNING_CONVERSION_SETTING_CHANGEThe bid strategy depends on conversion reporting and the customer recently changed their conversion settings.
LIMITED_BY_CPC_BID_CEILINGThe bid strategy is limited by its bid ceiling.
LIMITED_BY_CPC_BID_FLOORThe bid strategy is limited by its bid floor.
LIMITED_BY_DATAThe bid strategy is limited because there was not enough conversion traffic over the past weeks.
LIMITED_BY_BUDGETA significant fraction of keywords in this bid strategy are limited by budget.
LIMITED_BY_LOW_PRIORITY_SPENDThe bid strategy cannot reach its target spend because its spend has been de-prioritized.
LIMITED_BY_LOW_QUALITYA significant fraction of keywords in this bid strategy have a low Quality Score.
LIMITED_BY_INVENTORYThe bid strategy cannot fully spend its budget because of narrow targeting.
MISCONFIGURED_ZERO_ELIGIBILITYMissing conversion tracking (no pings present) and/or remarketing lists for SSC.
MISCONFIGURED_CONVERSION_TYPESThe bid strategy depends on conversion reporting and the customer is lacking conversion types that might be reported against this strategy.
MISCONFIGURED_CONVERSION_SETTINGSThe bid strategy depends on conversion reporting and the customer's conversion settings are misconfigured.
MISCONFIGURED_SHARED_BUDGETThere are campaigns outside the bid strategy that share budgets with campaigns included in the strategy.
MISCONFIGURED_STRATEGY_TYPEThe campaign has an invalid strategy type and is not serving.
PAUSEDThe bid strategy is not active. Either there are no active campaigns, ad groups or keywords attached to the bid strategy. Or there are no active budgets connected to the bid strategy.
UNAVAILABLEThis bid strategy currently does not support status reporting.
MULTIPLE_LEARNINGThere were multiple LEARNING_* system statuses for this bid strategy during the time in question.
MULTIPLE_LIMITEDThere were multiple LIMITED_* system statuses for this bid strategy during the time in question.
MULTIPLE_MISCONFIGUREDThere were multiple MISCONFIGURED_* system statuses for this bid strategy during the time in question.
MULTIPLEThere were multiple system statuses for this bid strategy during the time in question.

AdServingOptimizationStatus

Enum describing possible serving statuses.

Enums
UNSPECIFIEDNo value has been specified.
UNKNOWN

The received value is not known in this version.

This is a response-only value.

OPTIMIZEAd serving is optimized based on CTR for the campaign.
CONVERSION_OPTIMIZEAd serving is optimized based on CTR * Conversion for the campaign. If the campaign is not in the conversion optimizer bidding strategy, it will default to OPTIMIZED.
ROTATEAds are rotated evenly for 90 days, then optimized for clicks.
ROTATE_INDEFINITELYShow lower performing ads more evenly with higher performing ads, and do not optimize.
UNAVAILABLEAd serving optimization status is not available.

AdvertisingChannelType

Enum describing the various advertising channel types.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
SEARCHSearch Network. Includes display bundled, and Search+ campaigns.
DISPLAYGoogle Display Network only.
SHOPPINGShopping campaigns serve on the shopping property and on google.com search results.
HOTELHotel Ads campaigns.
VIDEOVideo campaigns.
MULTI_CHANNELApp Campaigns, and App Campaigns for Engagement, that run across multiple channels.
LOCALLocal ads campaigns.
SMARTSmart campaigns.
PERFORMANCE_MAXPerformance Max campaigns.
LOCAL_SERVICESLocal services campaigns.
DISCOVERYDiscovery campaigns.
TRAVELTravel campaigns.
SOCIALSocial campaigns.

AdvertisingChannelSubType

Enum describing the different channel subtypes.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed as a return value only. Represents value unknown in this version.
SEARCH_MOBILE_APPMobile app campaigns for Search.
DISPLAY_MOBILE_APPMobile app campaigns for Display.
SEARCH_EXPRESSAdWords express campaigns for search.
DISPLAY_EXPRESSAdWords Express campaigns for display.
SHOPPING_SMART_ADSSmart Shopping campaigns.
DISPLAY_GMAIL_ADGmail Ad campaigns.
DISPLAY_SMART_CAMPAIGNSmart display campaigns. New campaigns of this sub type cannot be created.
VIDEO_OUTSTREAMVideo Outstream campaigns.
VIDEO_ACTIONVideo TrueView for Action campaigns.
VIDEO_NON_SKIPPABLEVideo campaigns with non-skippable video ads.
APP_CAMPAIGNApp Campaign that lets you easily promote your Android or iOS app across Google's top properties including Search, Play, YouTube, and the Google Display Network.
APP_CAMPAIGN_FOR_ENGAGEMENTApp Campaign for engagement, focused on driving re-engagement with the app across several of Google's top properties including Search, YouTube, and the Google Display Network.
LOCAL_CAMPAIGNCampaigns specialized for local advertising.
SHOPPING_COMPARISON_LISTING_ADSShopping Comparison Listing campaigns.
SMART_CAMPAIGNStandard Smart campaigns.
VIDEO_SEQUENCEVideo campaigns with sequence video ads.
APP_CAMPAIGN_FOR_PRE_REGISTRATIONApp Campaign for pre registration, specialized for advertising mobile app pre-registration, that targets multiple advertising channels across Google Play, YouTube and Display Network.
VIDEO_REACH_TARGET_FREQUENCYVideo reach campaign with Target Frequency bidding strategy.
TRAVEL_ACTIVITIESTravel Activities campaigns.
SOCIAL_FACEBOOK_TRACKING_ONLYFacebook tracking only social campaigns.

RealTimeBiddingSetting

Settings for Real-Time Bidding, a feature only available for campaigns targeting the Ad Exchange network.

JSON representation
{"optIn":boolean}
Fields
optIn

boolean

Whether the campaign is opted in to real-time bidding.

NetworkSettings

The network settings for the campaign.

JSON representation
{"targetGoogleSearch":boolean,"targetSearchNetwork":boolean,"targetContentNetwork":boolean,"targetPartnerSearchNetwork":boolean}
Fields
targetGoogleSearch

boolean

Whether ads will be served with google.com search results.

targetSearchNetwork

boolean

Whether ads will be served on partner sites in the Google Search Network (requirestargetGoogleSearch to also betrue).

targetContentNetwork

boolean

Whether ads will be served on specified placements in the Google Display Network. Placements are specified using the Placement criterion.

targetPartnerSearchNetwork

boolean

Whether ads will be served on the Google Partner Network. This is available only to some select Google partner accounts.

DynamicSearchAdsSetting

The setting for controlling Dynamic Search Ads (DSA).

JSON representation
{"domainName":string,"languageCode":string,"useSuppliedUrlsOnly":boolean}
Fields
domainName

string

Required. The Internet domain name that this setting represents, for example, "google.com" or "www.google.com".

languageCode

string

Required. The language code specifying the language of the domain, for example, "en".

useSuppliedUrlsOnly

boolean

Whether the campaign uses advertiser supplied URLs exclusively.

ShoppingSetting

The setting for Shopping campaigns. Defines the universe of products that can be advertised by the campaign, and how this campaign interacts with other Shopping campaigns.

JSON representation
{"feedLabel":string,"useVehicleInventory":boolean,"merchantId":string,"salesCountry":string,"campaignPriority":integer,"enableLocal":boolean}
Fields
feedLabel

string

Feed label of products to include in the campaign. Only one of feedLabel or salesCountry can be set. If used instead of salesCountry, the feedLabel field accepts country codes in the same format for example: 'XX'. Otherwise can be any string used for feed label in Google Merchant Center.

useVehicleInventory

boolean

Whether to target Vehicle Listing inventory.

merchantId

string (int64 format)

ID of the Merchant Center account. This field is required for create operations. This field is immutable for Shopping campaigns.

salesCountry

string

Sales country of products to include in the campaign.

campaignPriority

integer

Priority of the campaign. Campaigns with numerically higher priorities take precedence over those with lower priorities. This field is required for Shopping campaigns, with values between 0 and 2, inclusive. This field is optional for Smart Shopping campaigns, but must be equal to 3 if set.

enableLocal

boolean

Whether to include local products.

GeoTargetTypeSetting

Represents a collection of settings related to ads geotargeting.

JSON representation
{"positiveGeoTargetType":enum (PositiveGeoTargetType),"negativeGeoTargetType":enum (NegativeGeoTargetType)}
Fields
positiveGeoTargetType

enum (PositiveGeoTargetType)

The setting used for positive geotargeting in this particular campaign.

negativeGeoTargetType

enum (NegativeGeoTargetType)

The setting used for negative geotargeting in this particular campaign.

PositiveGeoTargetType

The possible positive geo target types.

Enums
UNSPECIFIEDNot specified.
UNKNOWNThe value is unknown in this version.
PRESENCE_OR_INTERESTSpecifies that an ad is triggered if the user is in, or shows interest in, advertiser's targeted locations.
SEARCH_INTERESTSpecifies that an ad is triggered if the user searches for advertiser's targeted locations. This can only be used with Search and standard Shopping campaigns.
PRESENCESpecifies that an ad is triggered if the user is in or regularly in advertiser's targeted locations.

NegativeGeoTargetType

The possible negative geo target types.

Enums
UNSPECIFIEDNot specified.
UNKNOWNThe value is unknown in this version.
PRESENCE_OR_INTERESTSpecifies that a user is excluded from seeing the ad if they are in, or show interest in, advertiser's excluded locations.
PRESENCESpecifies that a user is excluded from seeing the ad if they are in advertiser's excluded locations.

FrequencyCapEntry

This type has no fields.

A rule specifying the maximum number of times an ad (or some set of ads) can be shown to a user over a particular time period.

SelectiveOptimization

Selective optimization setting for this campaign, which includes a set of conversion actions to optimize this campaign towards. This feature only applies to app campaigns that use MULTI_CHANNEL as AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as AdvertisingChannelSubType.

JSON representation
{"conversionActions":[string]}
Fields
conversionActions[]

string

The selected set of resource names for conversion actions for optimizing this campaign.

OptimizationGoalSetting

Optimization goal setting for this campaign, which includes a set of optimization goal types.

JSON representation
{"optimizationGoalTypes":[enum (OptimizationGoalType)]}
Fields
optimizationGoalTypes[]

enum (OptimizationGoalType)

The list of optimization goal types.

OptimizationGoalType

The type of optimization goal

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed as a return value only. Represents value unknown in this version.
CALL_CLICKSOptimize for call clicks. Call click conversions are times people selected 'Call' to contact a store after viewing an ad.
DRIVING_DIRECTIONSOptimize for driving directions. Driving directions conversions are times people selected 'Get directions' to navigate to a store after viewing an ad.
APP_PRE_REGISTRATIONOptimize for pre-registration. Pre-registration conversions are the number of pre-registration signups to receive a notification when the app is released.

TrackingSetting

Campaign-level settings for tracking information.

JSON representation
{"trackingUrl":string}
Fields
trackingUrl

string

The url used for dynamic tracking.

AssetSetType

Possible types of an asset set.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
PAGE_FEEDPage asset set.
DYNAMIC_EDUCATIONDynamic education asset set.
MERCHANT_CENTER_FEEDGoogle Merchant Center asset set.
DYNAMIC_REAL_ESTATEDynamic real estate asset set.
DYNAMIC_CUSTOMDynamic custom asset set.
DYNAMIC_HOTELS_AND_RENTALSDynamic hotels and rentals asset set.
DYNAMIC_FLIGHTSDynamic flights asset set.
DYNAMIC_TRAVELDynamic travel asset set.
DYNAMIC_LOCALDynamic local asset set.
DYNAMIC_JOBSDynamic jobs asset set.
LOCATION_SYNCLocation sync level asset set.
BUSINESS_PROFILE_DYNAMIC_LOCATION_GROUPBusiness Profile location group asset set.
CHAIN_DYNAMIC_LOCATION_GROUPChain location group asset set which can be used for both owned locations and affiliate locations.
STATIC_LOCATION_GROUPStatic location group asset set which can be used for both owned locations and affiliate locations.
HOTEL_PROPERTYHotel Property asset set which is used to link a hotel property feed to Performance Max for travel goals campaigns.
TRAVEL_FEEDTravel Feed asset set type. Can represent either a Hotel feed or a Things to Do (activities) feed.

ManualCpa

This type has no fields.

Manual bidding strategy that allows advertiser to set the bid per advertiser-specified action.

ManualCpc

Manual click-based bidding where user pays per click.

JSON representation
{"enhancedCpcEnabled":boolean}
Fields
enhancedCpcEnabled

boolean

Whether bids are to be enhanced based on conversion optimizer data.

ManualCpm

This type has no fields.

Manual impression-based bidding where user pays per thousand impressions.

PercentCpc

A bidding strategy where bids are a fraction of the advertised price for some good or service.

JSON representation
{"cpcBidCeilingMicros":string,"enhancedCpcEnabled":boolean}
Fields
cpcBidCeilingMicros

string (int64 format)

Maximum bid limit that can be set by the bid strategy. This is an optional field entered by the advertiser and specified in local micros. Note: A zero value is interpreted in the same way as having bid_ceiling undefined.

enhancedCpcEnabled

boolean

Adjusts the bid for each auction upward or downward, depending on the likelihood of a conversion. Individual bids may exceed cpcBidCeilingMicros, but the average bid amount for a campaign should not.

TargetCpm

This type has no fields.

Target CPM (cost per thousand impressions) is an automated bidding strategy that sets bids to optimize performance given the target CPM you set.

CampaignAsset

A link between a Campaign and an Asset.

JSON representation
{"resourceName":string,"status":enum (AssetLinkStatus),"campaign":string,"asset":string}
Fields
resourceName

string

The resource name of the campaign asset. CampaignAsset resource names have the form:

customers/{customerId}/campaignAssets/{campaign_id}~{assetId}~{fieldType}

status

enum (AssetLinkStatus)

Status of the campaign asset.

campaign

string

The campaign to which the asset is linked.

asset

string

The asset which is linked to the campaign.

CampaignAssetSet

CampaignAssetSet is the linkage between a campaign and an asset set. Adding a CampaignAssetSet links an asset set with a campaign.

JSON representation
{"resourceName":string,"campaign":string,"assetSet":string,"status":enum (AssetSetLinkStatus)}
Fields
resourceName

string

The resource name of the campaign asset set. Asset set asset resource names have the form:

customers/{customerId}/campaignAssetSets/{campaign_id}~{asset_set_id}

campaign

string

The campaign to which this asset set is linked.

assetSet

string

The asset set which is linked to the campaign.

status

enum (AssetSetLinkStatus)

The status of the campaign asset set asset. Read-only.

CampaignAudienceView

A campaign audience view. Includes performance data from interests and remarketing lists for Display Network and YouTube Network ads, and remarketing lists for search ads (RLSA), aggregated by campaign and audience criterion. This view only includes audiences attached at the campaign level.

JSON representation
{"resourceName":string}
Fields
resourceName

string

The resource name of the campaign audience view. Campaign audience view resource names have the form:

customers/{customerId}/campaignAudienceViews/{campaign_id}~{criterionId}

CampaignCriterion

A campaign criterion.

JSON representation
{"resourceName":string,"displayName":string,"type":enum (CriterionType),"status":enum (CampaignCriterionStatus),"lastModifiedTime":string,"criterionId":string,"bidModifier":number,"negative":boolean,// Union fieldcriterion can be only one of the following:"keyword":{object (KeywordInfo)},"location":{object (LocationInfo)},"device":{object (DeviceInfo)},"ageRange":{object (AgeRangeInfo)},"gender":{object (GenderInfo)},"userList":{object (UserListInfo)},"language":{object (LanguageInfo)},"webpage":{object (WebpageInfo)},"locationGroup":{object (LocationGroupInfo)}// End of list of possible types for union fieldcriterion.}
Fields
resourceName

string

The resource name of the campaign criterion. Campaign criterion resource names have the form:

customers/{customerId}/campaignCriteria/{campaign_id}~{criterionId}

displayName

string

The display name of the criterion.

This field is ignored for mutates.

type

enum (CriterionType)

The type of the criterion.

status

enum (CampaignCriterionStatus)

The status of the criterion.

lastModifiedTime

string

The datetime when this campaign criterion was last modified. The datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format.

criterionId

string (int64 format)

The ID of the criterion.

This field is ignored during mutate.

bidModifier

number

The modifier for the bids when the criterion matches. The modifier must be in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. Use 0 to opt out of a Device type.

negative

boolean

Whether to target (false) or exclude (true) the criterion.

Union fieldcriterion. The campaign criterion.

Exactly one must be set.criterion can be only one of the following:

keyword

object (KeywordInfo)

Keyword.

location

object (LocationInfo)

Location.

device

object (DeviceInfo)

Device.

ageRange

object (AgeRangeInfo)

Age range.

gender

object (GenderInfo)

Gender.

userList

object (UserListInfo)

User List.

language

object (LanguageInfo)

Language.

webpage

object (WebpageInfo)

Webpage.

locationGroup

object (LocationGroupInfo)

Location Group

CampaignCriterionStatus

The possible statuses of a CampaignCriterion.

Enums
UNSPECIFIEDNo value has been specified.
UNKNOWN

The received value is not known in this version.

This is a response-only value.

ENABLEDThe campaign criterion is enabled.
PAUSEDThe campaign criterion is paused.
REMOVEDThe campaign criterion is removed.

LanguageInfo

A language criterion.

JSON representation
{"languageConstant":string}
Fields
languageConstant

string

The language constant resource name.

LocationGroupInfo

A radius around a list of locations specified through a feed.

JSON representation
{"geoTargetConstants":[string],"radiusUnits":enum (LocationGroupRadiusUnits),"feedItemSets":[string],"radius":string}
Fields
geoTargetConstants[]

string

Geo target constant(s) restricting the scope of the geographic area within the feed. Currently only one geo target constant is allowed.

radiusUnits

enum (LocationGroupRadiusUnits)

Unit of the radius. Miles and meters are supported for geo target constants. Milli miles and meters are supported for feed item sets. This is required and must be set in CREATE operations.

feedItemSets[]

string

FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, then all items that appear in at least one set are targeted. This field cannot be used with geoTargetConstants. This is optional and can only be set in CREATE operations.

radius

string (int64 format)

Distance in units specifying the radius around targeted locations. This is required and must be set in CREATE operations.

LocationGroupRadiusUnits

The unit of radius distance in location group (for example, MILES)

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
METERSMeters
MILESMiles
MILLI_MILESMilli Miles

CampaignEffectiveLabel

Represents a relationship between a campaign and an effective label. An effective label is a label inherited or directly assigned to this campaign.

JSON representation
{"resourceName":string,"campaign":string,"label":string,"ownerCustomerId":string}
Fields
resourceName

string

Name of the resource. CampaignEffectivelabel resource names have the form:customers/{ownerCustomerId}/campaignEffectiveLabels/{campaign_id}~{label_id}

campaign

string

The campaign to which the effective label is attached.

label

string

The effective label assigned to the campaign.

ownerCustomerId

string (int64 format)

The ID of the Customer which owns the effective label.

CampaignLabel

Represents a relationship between a campaign and a label.

JSON representation
{"resourceName":string,"campaign":string,"label":string,"ownerCustomerId":string}
Fields
resourceName

string

Name of the resource. Campaign label resource names have the form:customers/{ownerCustomerId}/campaignLabels/{campaign_id}~{label_id}

campaign

string

The campaign to which the label is attached.

label

string

The label assigned to the campaign.

ownerCustomerId

string (int64 format)

The ID of the Customer which owns the label.

CartDataSalesView

Cart data sales view.

JSON representation
{"resourceName":string}
Fields
resourceName

string

The resource name of the Cart data sales view. Cart data sales view resource names have the form:customers/{customerId}/cartDataSalesView

Audience

Audience is an effective targeting option that lets you intersect different segment attributes, such as detailed demographics and affinities, to create audiences that represent sections of your target segments.

JSON representation
{"resourceName":string,"id":string,"name":string,"description":string}
Fields
resourceName

string

The resource name of the audience. Audience names have the form:

customers/{customerId}/audiences/{audience_id}

id

string (int64 format)

ID of the audience.

name

string

Required. Name of the audience. It should be unique across all audiences. It must have a minimum length of 1 and maximum length of 255.

description

string

Description of this audience.

ConversionAction

A conversion action.

JSON representation
{"resourceName":string,"creationTime":string,"status":enum (ConversionActionStatus),"type":enum (ConversionActionType),"category":enum (ConversionActionCategory),"valueSettings":{object (ValueSettings)},"attributionModelSettings":{object (AttributionModelSettings)},"floodlightSettings":{object (FloodlightSettings)},"id":string,"name":string,"primaryForGoal":boolean,"ownerCustomer":string,"includeInClientAccountConversionsMetric":boolean,"includeInConversionsMetric":boolean,"clickThroughLookbackWindowDays":string,"appId":string}
Fields
resourceName

string

The resource name of the conversion action. Conversion action resource names have the form:

customers/{customerId}/conversionActions/{conversion_action_id}

creationTime

string

Timestamp of the Floodlight activity's creation, formatted in ISO 8601.

status

enum (ConversionActionStatus)

The status of this conversion action for conversion event accrual.

type

enum (ConversionActionType)

The type of this conversion action.

category

enum (ConversionActionCategory)

The category of conversions reported for this conversion action.

valueSettings

object (ValueSettings)

Settings related to the value for conversion events associated with this conversion action.

attributionModelSettings

object (AttributionModelSettings)

Settings related to this conversion action's attribution model.

floodlightSettings

object (FloodlightSettings)

Floodlight settings for Floodlight conversion types.

id

string (int64 format)

The ID of the conversion action.

name

string

The name of the conversion action.

This field is required and should not be empty when creating new conversion actions.

primaryForGoal

boolean

If a conversion action's primaryForGoal bit is false, the conversion action is non-biddable for all campaigns regardless of their customer conversion goal or campaign conversion goal. However, custom conversion goals do not respect primaryForGoal, so if a campaign has a custom conversion goal configured with a primaryForGoal = false conversion action, that conversion action is still biddable. By default, primaryForGoal will be true if not set. In V9, primaryForGoal can only be set to false after creation through an 'update' operation because it's not declared as optional.

ownerCustomer

string

The resource name of the conversion action owner customer, or null if this is a system-defined conversion action.

includeInClientAccountConversionsMetric

boolean

Whether this conversion action should be included in the "clientAccountConversions" metric.

includeInConversionsMetric

boolean

Whether this conversion action should be included in the "conversions" metric.

clickThroughLookbackWindowDays

string (int64 format)

The maximum number of days that may elapse between an interaction (for example, a click) and a conversion event.

appId

string

App ID for an app conversion action.

ConversionActionStatus

Possible statuses of a conversion action.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
ENABLEDConversions will be recorded.
REMOVEDConversions will not be recorded.
HIDDENConversions will not be recorded and the conversion action will not appear in the UI.

ConversionActionType

Possible types of a conversion action.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
AD_CALLConversions that occur when a user clicks on an ad's call extension.
CLICK_TO_CALLConversions that occur when a user on a mobile device clicks a phone number.
GOOGLE_PLAY_DOWNLOADConversions that occur when a user downloads a mobile app from the Google Play Store.
GOOGLE_PLAY_IN_APP_PURCHASEConversions that occur when a user makes a purchase in an app through Android billing.
UPLOAD_CALLSCall conversions that are tracked by the advertiser and uploaded.
UPLOAD_CLICKSConversions that are tracked by the advertiser and uploaded with attributed clicks.
WEBPAGEConversions that occur on a webpage.
WEBSITE_CALLConversions that occur when a user calls a dynamically-generated phone number from an advertiser's website.
STORE_SALES_DIRECT_UPLOADStore Sales conversion based on first-party or third-party merchant data uploads. Only customers on the allowlist can use store sales direct upload types.
STORE_SALESStore Sales conversion based on first-party or third-party merchant data uploads and/or from in-store purchases using cards from payment networks. Only customers on the allowlist can use store sales types. Read only.
FIREBASE_ANDROID_FIRST_OPENAndroid app first open conversions tracked through Firebase.
FIREBASE_ANDROID_IN_APP_PURCHASEAndroid app in app purchase conversions tracked through Firebase.
FIREBASE_ANDROID_CUSTOMAndroid app custom conversions tracked through Firebase.
FIREBASE_IOS_FIRST_OPENiOS app first open conversions tracked through Firebase.
FIREBASE_IOS_IN_APP_PURCHASEiOS app in app purchase conversions tracked through Firebase.
FIREBASE_IOS_CUSTOMiOS app custom conversions tracked through Firebase.
THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPENAndroid app first open conversions tracked through Third Party App Analytics.
THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASEAndroid app in app purchase conversions tracked through Third Party App Analytics.
THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOMAndroid app custom conversions tracked through Third Party App Analytics.
THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPENiOS app first open conversions tracked through Third Party App Analytics.
THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASEiOS app in app purchase conversions tracked through Third Party App Analytics.
THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOMiOS app custom conversions tracked through Third Party App Analytics.
ANDROID_APP_PRE_REGISTRATIONConversions that occur when a user pre-registers a mobile app from the Google Play Store. Read only.
ANDROID_INSTALLS_ALL_OTHER_APPSConversions that track all Google Play downloads which aren't tracked by an app-specific type. Read only.
FLOODLIGHT_ACTIONFloodlight activity that counts the number of times that users have visited a particular webpage after seeing or clicking on one of an advertiser's ads. Read only.
FLOODLIGHT_TRANSACTIONFloodlight activity that tracks the number of sales made or the number of items purchased. Can also capture the total value of each sale. Read only.
GOOGLE_HOSTEDConversions that track local actions from Google's products and services after interacting with an ad. Read only.
LEAD_FORM_SUBMITConversions reported when a user submits a lead form. Read only.
SALESFORCE

Deprecated: The Salesforce integration will be going away and replaced with an improved way to import your conversions from Salesforce. - seehttps://support.google.com/google-ads/answer/14728349

This item is deprecated!

SEARCH_ADS_360Conversions imported from Search Ads 360 Floodlight data. Read only.
SMART_CAMPAIGN_AD_CLICKS_TO_CALLCall conversions that occur on Smart campaign Ads without call tracking setup, using Smart campaign custom criteria. Read only.
SMART_CAMPAIGN_MAP_CLICKS_TO_CALLThe user clicks on a call element within Google Maps. Smart campaign only. Read only.
SMART_CAMPAIGN_MAP_DIRECTIONSThe user requests directions to a business location within Google Maps. Smart campaign only. Read only.
SMART_CAMPAIGN_TRACKED_CALLSCall conversions that occur on Smart campaign Ads with call tracking setup, using Smart campaign custom criteria. Read only.
STORE_VISITSConversions that occur when a user visits an advertiser's retail store. Read only.
WEBPAGE_CODELESSConversions created from website events (such as form submissions or page loads), that don't use individually coded event snippets. Read only.
UNIVERSAL_ANALYTICS_GOALConversions that come from linked Universal Analytics goals.
UNIVERSAL_ANALYTICS_TRANSACTIONConversions that come from linked Universal Analytics transactions.
GOOGLE_ANALYTICS_4_CUSTOMConversions that come from linked Google Analytics 4 custom event conversions.
GOOGLE_ANALYTICS_4_PURCHASEConversions that come from linked Google Analytics 4 purchase conversions.

ConversionActionCategory

The category of conversions that are associated with a ConversionAction.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
DEFAULTDefault category.
PAGE_VIEWUser visiting a page.
PURCHASEPurchase, sales, or "order placed" event.
SIGNUPSignup user action.
LEADLead-generating action.
DOWNLOADSoftware download action (as for an app).
ADD_TO_CARTThe addition of items to a shopping cart or bag on an advertiser site.
BEGIN_CHECKOUTWhen someone enters the checkout flow on an advertiser site.
SUBSCRIBE_PAIDThe start of a paid subscription for a product or service.
PHONE_CALL_LEADA call to indicate interest in an advertiser's offering.
IMPORTED_LEADA lead conversion imported from an external source into Google Ads.
SUBMIT_LEAD_FORMA submission of a form on an advertiser site indicating business interest.
BOOK_APPOINTMENTA booking of an appointment with an advertiser's business.
REQUEST_QUOTEA quote or price estimate request.
GET_DIRECTIONSA search for an advertiser's business location with intention to visit.
OUTBOUND_CLICKA click to an advertiser's partner's site.
CONTACTA call, SMS, email, chat or other type of contact to an advertiser.
ENGAGEMENTA website engagement event such as long site time or a Google Analytics (GA) Smart Goal. Intended to be used for GA, Firebase, GA Gold goal imports.
STORE_VISITA visit to a physical store location.
STORE_SALEA sale occurring in a physical store.
QUALIFIED_LEADA lead conversion imported from an external source into Google Ads, that has been further qualified by the advertiser (marketing/sales team). In the lead-to-sale journey, advertisers get leads, then act on them by reaching out to the consumer. If the consumer is interested and may end up buying their product, the advertiser marks such leads as "qualified leads".
CONVERTED_LEADA lead conversion imported from an external source into Google Ads, that has further completed a chosen stage as defined by the lead gen advertiser.

ValueSettings

Settings related to the value for conversion events associated with this conversion action.

JSON representation
{"defaultValue":number,"defaultCurrencyCode":string,"alwaysUseDefaultValue":boolean}
Fields
defaultValue

number

The value to use when conversion events for this conversion action are sent with an invalid, disallowed or missing value, or when this conversion action is configured to always use the default value.

defaultCurrencyCode

string

The currency code to use when conversion events for this conversion action are sent with an invalid or missing currency code, or when this conversion action is configured to always use the default value.

alwaysUseDefaultValue

boolean

Controls whether the default value and default currency code are used in place of the value and currency code specified in conversion events for this conversion action.

AttributionModelSettings

Settings related to this conversion action's attribution model.

JSON representation
{"attributionModel":enum (AttributionModel),"dataDrivenModelStatus":enum (DataDrivenModelStatus)}
Fields
attributionModel

enum (AttributionModel)

The attribution model type of this conversion action.

dataDrivenModelStatus

enum (DataDrivenModelStatus)

The status of the data-driven attribution model for the conversion action.

AttributionModel

The attribution model that describes how to distribute credit for a particular conversion across potentially many prior interactions.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
EXTERNALUses external attribution.
GOOGLE_ADS_LAST_CLICKAttributes all credit for a conversion to its last click.
GOOGLE_SEARCH_ATTRIBUTION_FIRST_CLICKAttributes all credit for a conversion to its first click using Google Search attribution.
GOOGLE_SEARCH_ATTRIBUTION_LINEARAttributes credit for a conversion equally across all of its clicks using Google Search attribution.
GOOGLE_SEARCH_ATTRIBUTION_TIME_DECAYAttributes exponentially more credit for a conversion to its more recent clicks using Google Search attribution (half-life is 1 week).
GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASEDAttributes 40% of the credit for a conversion to its first and last clicks. Remaining 20% is evenly distributed across all other clicks. This uses Google Search attribution.
GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVENFlexible model that uses machine learning to determine the appropriate distribution of credit among clicks using Google Search attribution.

DataDrivenModelStatus

Enumerates data driven model statuses.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
AVAILABLEThe data driven model is available.
STALEThe data driven model is stale. It hasn't been updated for at least 7 days. It is still being used, but will become expired if it does not get updated for 30 days.
EXPIREDThe data driven model expired. It hasn't been updated for at least 30 days and cannot be used. Most commonly this is because there hasn't been the required number of events in a recent 30-day period.
NEVER_GENERATEDThe data driven model has never been generated. Most commonly this is because there has never been the required number of events in any 30-day period.

FloodlightSettings

Settings related to a Floodlight conversion action.

JSON representation
{"activityGroupTag":string,"activityTag":string,"activityId":string}
Fields
activityGroupTag

string

String used to identify a Floodlight activity group when reporting conversions.

activityTag

string

String used to identify a Floodlight activity when reporting conversions.

activityId

string (int64 format)

ID of the Floodlight activity in DoubleClick Campaign Manager (DCM).

ConversionCustomVariable

A conversion custom variable. See "About custom Floodlight metrics and dimensions in the new Search Ads 360" athttps://support.google.com/sa360/answer/13567857

JSON representation
{"resourceName":string,"id":string,"name":string,"tag":string,"status":enum (ConversionCustomVariableStatus),"ownerCustomer":string,"family":enum (ConversionCustomVariableFamily),"cardinality":enum (ConversionCustomVariableCardinality),"floodlightConversionCustomVariableInfo":{object (FloodlightConversionCustomVariableInfo)},"customColumnIds":[string]}
Fields
resourceName

string

The resource name of the conversion custom variable. Conversion custom variable resource names have the form:

customers/{customerId}/conversionCustomVariables/{conversion_custom_variable_id}

id

string (int64 format)

The ID of the conversion custom variable.

name

string

Required. The name of the conversion custom variable. Name should be unique. The maximum length of name is 100 characters. There should not be any extra spaces before and after.

tag

string

Required. The tag of the conversion custom variable. Tag should be unique and consist of a "u" character directly followed with a number less than ormequal to 100. For example: "u4".

status

enum (ConversionCustomVariableStatus)

The status of the conversion custom variable for conversion event accrual.

ownerCustomer

string

The resource name of the customer that owns the conversion custom variable.

family

enum (ConversionCustomVariableFamily)

Family of the conversion custom variable.

cardinality

enum (ConversionCustomVariableCardinality)

Cardinality of the conversion custom variable.

floodlightConversionCustomVariableInfo

object (FloodlightConversionCustomVariableInfo)

Fields for Search Ads 360 floodlight conversion custom variables.

customColumnIds[]

string (int64 format)

The IDs of custom columns that use this conversion custom variable.

ConversionCustomVariableStatus

Possible statuses of a conversion custom variable.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
ACTIVATION_NEEDED

The conversion custom variable is pending activation and will not accrue stats until set to ENABLED.

This status can't be used in CREATE and UPDATE requests.

ENABLEDThe conversion custom variable is enabled and will accrue stats.
PAUSEDThe conversion custom variable is paused and will not accrue stats until set to ENABLED again.

ConversionCustomVariableFamily

Family of a conversion custom variable.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
STANDARDThe standard conversion custom variable. Customers are required to activate before use.
FLOODLIGHTThe conversion custom variable imported from a custom floodlight variable.

ConversionCustomVariableCardinality

Cardinality of a conversion custom variable.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
BELOW_ALL_LIMITSThe conversion custom variable has cardinality below all limits. The variable can be used for segmentation, and stats can accrue for new values if the variable is enabled.
EXCEEDS_SEGMENTATION_LIMIT_BUT_NOT_STATS_LIMITThe conversion custom variable has cardinality that exceeds the segmentation limit, but does not exceed the stats limit. Segmentation will be disabled, but stats can accrue for new values if the variable is enabled.
APPROACHES_STATS_LIMITThe conversion custom variable has exceeded the segmentation limits, and is approaching the stats limits (> 90%). Segmentation will be disabled, but stats can accrue for new values if the variable is enabled.
EXCEEDS_STATS_LIMITThe conversion custom variable has exceeded both the segmentation limits and stats limits. Segmentation will be disabled, and stats for enabled variables can accrue only if the existing values do not increase the cardinality of the variable any further.

FloodlightConversionCustomVariableInfo

Information for Search Ads 360 Floodlight Conversion Custom Variables.

JSON representation
{"floodlightVariableType":enum (FloodlightVariableType),"floodlightVariableDataType":enum (FloodlightVariableDataType)}
Fields
floodlightVariableType

enum (FloodlightVariableType)

Floodlight variable type defined in Search Ads 360.

floodlightVariableDataType

enum (FloodlightVariableDataType)

Floodlight variable data type defined in Search Ads 360.

FloodlightVariableType

Type of the floodlight variable, as defined in the Search Ads 360. Seehttps://support.google.com/searchads/answer/4397154?hl=en to learn more.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
DIMENSIONDimension floodlight variable type.
METRICMetric floodlight variable type.
UNSETFloodlight variable type is unset.

FloodlightVariableDataType

The data type of the floodlight variable, as defined in Search Ads 360. Seehttps://support.google.com/searchads/answer/4397154?hl=en to learn more.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
NUMBERRepresents a floodlight variable of "Number" type. This variable may be assigned to floodlight variables of DIMENSION or METRIC types.
STRINGRepresents a floodlight variable of "String" type. This variable may be assigned to floodlight variables of DIMENSION type.

Customer

A customer.

JSON representation
{"resourceName":string,"conversionTrackingSetting":{object (ConversionTrackingSetting)},"accountType":enum (AccountType),"doubleClickCampaignManagerSetting":{object (DoubleClickCampaignManagerSetting)},"accountStatus":enum (AccountStatus),"lastModifiedTime":string,"engineId":string,"status":enum (CustomerStatus),"creationTime":string,"managerId":string,"managerDescriptiveName":string,"subManagerId":string,"subManagerDescriptiveName":string,"associateManagerId":string,"associateManagerDescriptiveName":string,"accountLevel":enum (AccountLevelType),"id":string,"descriptiveName":string,"currencyCode":string,"timeZone":string,"trackingUrlTemplate":string,"finalUrlSuffix":string,"autoTaggingEnabled":boolean,"manager":boolean}
Fields
resourceName

string

The resource name of the customer. Customer resource names have the form:

customers/{customerId}

conversionTrackingSetting

object (ConversionTrackingSetting)

Conversion tracking setting for a customer.

accountType

enum (AccountType)

Engine account type, for example, Google Ads, Microsoft Advertising, Yahoo Japan, Baidu, Facebook, Engine Track, etc.

doubleClickCampaignManagerSetting

object (DoubleClickCampaignManagerSetting)

DoubleClick Campaign Manager (DCM) setting for a manager customer.

accountStatus

enum (AccountStatus)

Account status, for example, Enabled, Paused, Removed, etc.

lastModifiedTime

string

The datetime when this customer was last modified. The datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format.

engineId

string

ID of the account in the external engine account.

status

enum (CustomerStatus)

The status of the customer.

creationTime

string

The timestamp when this customer was created. The timestamp is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.

managerId

string (int64 format)

The customer ID of the manager. A 0 value indicates that the customer has no SA360 manager.

managerDescriptiveName

string

The descriptive name of the manager.

subManagerId

string (int64 format)

The customer ID of the sub manager. A 0 value indicates that the customer has no sub SA360 manager.

subManagerDescriptiveName

string

The descriptive name of the sub manager.

associateManagerId

string (int64 format)

The customer ID of the associate manager. A 0 value indicates that the customer has no SA360 associate manager.

associateManagerDescriptiveName

string

The descriptive name of the associate manager.

accountLevel

enum (AccountLevelType)

The account level of the customer: Manager, Sub-manager, Associate manager, Service account.

id

string (int64 format)

The ID of the customer.

descriptiveName

string

Optional, non-unique descriptive name of the customer.

currencyCode

string

The currency in which the account operates. A subset of the currency codes from the ISO 4217 standard is supported.

timeZone

string

The local timezone ID of the customer.

trackingUrlTemplate

string

The URL template for constructing a tracking URL out of parameters.

finalUrlSuffix

string

The URL template for appending params to the final URL.

autoTaggingEnabled

boolean

Whether auto-tagging is enabled for the customer.

manager

boolean

Whether the customer is a manager.

ConversionTrackingSetting

A collection of customer-wide settings related to Search Ads 360 Conversion Tracking.

JSON representation
{"acceptedCustomerDataTerms":boolean,"conversionTrackingStatus":enum (ConversionTrackingStatus),"enhancedConversionsForLeadsEnabled":boolean,"googleAdsConversionCustomer":string,"conversionTrackingId":string,"googleAdsCrossAccountConversionTrackingId":string,"crossAccountConversionTrackingId":string}
Fields
acceptedCustomerDataTerms

boolean

Whether the customer has accepted customer data terms. If using cross-account conversion tracking, this value is inherited from the manager. This field is read-only. For more information, seehttps://support.google.com/adspolicy/answer/7475709.

conversionTrackingStatus

enum (ConversionTrackingStatus)

Conversion tracking status. It indicates whether the customer is using conversion tracking, and who is the conversion tracking owner of this customer. If this customer is using cross-account conversion tracking, the value returned will differ based on thelogin-customer-id of the request.

enhancedConversionsForLeadsEnabled

boolean

Whether the customer is opted-in for enhanced conversions for leads. If using cross-account conversion tracking, this value is inherited from the manager. This field is read-only.

googleAdsConversionCustomer

string

The resource name of the customer where conversions are created and managed. This field is read-only.

conversionTrackingId

string (int64 format)

The conversion tracking id used for this account. This id doesn't indicate whether the customer uses conversion tracking (conversionTrackingStatus does). This field is read-only.

googleAdsCrossAccountConversionTrackingId

string (int64 format)

The conversion tracking id of the customer's manager. This is set when the customer is opted into conversion tracking, and it overrides conversionTrackingId. This field can only be managed through the Google Ads UI. This field is read-only.

crossAccountConversionTrackingId

string (int64 format)

The conversion tracking id of the customer's manager. This is set when the customer is opted into cross-account conversion tracking, and it overrides conversionTrackingId.

ConversionTrackingStatus

Conversion Tracking status of the customer.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
NOT_CONVERSION_TRACKEDCustomer does not use any conversion tracking.
CONVERSION_TRACKING_MANAGED_BY_SELFThe conversion actions are created and managed by this customer.
CONVERSION_TRACKING_MANAGED_BY_THIS_MANAGERThe conversion actions are created and managed by the manager specified in the request'slogin-customer-id.
CONVERSION_TRACKING_MANAGED_BY_ANOTHER_MANAGERThe conversion actions are created and managed by a manager different from the customer or manager specified in the request'slogin-customer-id.

AccountType

Possible engine account types.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
BAIDUBaidu account.
ENGINE_TRACKEngine track account.
FACEBOOKFacebook account.
FACEBOOK_GATEWAYFacebook account managed through gateway.
GOOGLE_ADSGoogle Ads account.
MICROSOFTMicrosoft Advertising account.
SEARCH_ADS_360Search Ads 360 manager account.
YAHOO_JAPANYahoo Japan account.

DoubleClickCampaignManagerSetting

DoubleClick Campaign Manager (DCM) setting for a manager customer.

JSON representation
{"advertiserId":string,"networkId":string,"timeZone":string}
Fields
advertiserId

string (int64 format)

ID of the Campaign Manager advertiser associated with this customer.

networkId

string (int64 format)

ID of the Campaign Manager network associated with this customer.

timeZone

string

Time zone of the Campaign Manager network associated with this customer in IANA Time Zone Database format, such as America/New_York.

AccountStatus

Possible statuses of an account.

Enums
UNSPECIFIEDDefault value.
UNKNOWNUnknown value.
ENABLEDAccount is able to serve ads.
PAUSEDAccount is deactivated by the user.
SUSPENDEDAccount is deactivated by an internal process.
REMOVEDAccount is irrevocably deactivated.
DRAFTAccount is still in the process of setup, not ENABLED yet.

CustomerStatus

Possible statuses of a customer.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
ENABLEDIndicates an active account able to serve ads.
CANCELEDIndicates a canceled account unable to serve ads. Can be reactivated by an admin user.
SUSPENDEDIndicates a suspended account unable to serve ads. May only be activated by Google support.
CLOSEDIndicates a closed account unable to serve ads. Test account will also have CLOSED status. Status is permanent and may not be reopened.

AccountLevelType

Enum describing possible account levels.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
CLIENT_ACCOUNT_FACEBOOKClient account (Facebook)
CLIENT_ACCOUNT_GOOGLE_ADSClient account (Google Ads)
CLIENT_ACCOUNT_MICROSOFTClient account (Microsoft)
CLIENT_ACCOUNT_YAHOO_JAPANClient account (Yahoo Japan)
CLIENT_ACCOUNT_ENGINE_TRACKClient account (Engine Track)
MANAGERTop-level manager.
SUB_MANAGERSub manager.
ASSOCIATE_MANAGERAssociate manager.

CustomerAsset

A link between a customer and an asset.

JSON representation
{"resourceName":string,"asset":string,"status":enum (AssetLinkStatus)}
Fields
resourceName

string

The resource name of the customer asset. CustomerAsset resource names have the form:

customers/{customerId}/customerAssets/{assetId}~{fieldType}

asset

string

Required. The asset which is linked to the customer.

status

enum (AssetLinkStatus)

Status of the customer asset.

CustomerAssetSet

CustomerAssetSet is the linkage between a customer and an asset set. Adding a CustomerAssetSet links an asset set with a customer.

JSON representation
{"resourceName":string,"assetSet":string,"customer":string,"status":enum (AssetSetLinkStatus)}
Fields
resourceName

string

The resource name of the customer asset set. Asset set asset resource names have the form:

customers/{customerId}/customerAssetSets/{asset_set_id}

assetSet

string

The asset set which is linked to the customer.

customer

string

The customer to which this asset set is linked.

status

enum (AssetSetLinkStatus)

The status of the customer asset set asset. Read-only.

AccessibleBiddingStrategy

Represents a view of BiddingStrategies owned by and shared with the customer.

In contrast to BiddingStrategy, this resource includes strategies owned by managers of the customer and shared with this customer - in addition to strategies owned by this customer. This resource does not provide metrics and only exposes a limited subset of the BiddingStrategy attributes.

JSON representation
{"resourceName":string,"id":string,"name":string,"type":enum (BiddingStrategyType),"ownerCustomerId":string,"ownerDescriptiveName":string,// Union fieldscheme can be only one of the following:"maximizeConversionValue":{object (MaximizeConversionValue)},"maximizeConversions":{object (MaximizeConversions)},"targetCpa":{object (TargetCpa)},"targetImpressionShare":{object (TargetImpressionShare)},"targetRoas":{object (TargetRoas)},"targetSpend":{object (TargetSpend)}// End of list of possible types for union fieldscheme.}
Fields
resourceName

string

The resource name of the accessible bidding strategy. AccessibleBiddingStrategy resource names have the form:

customers/{customerId}/accessibleBiddingStrategies/{bidding_strategy_id}

id

string (int64 format)

The ID of the bidding strategy.

name

string

The name of the bidding strategy.

type

enum (BiddingStrategyType)

The type of the bidding strategy.

ownerCustomerId

string (int64 format)

The ID of the Customer which owns the bidding strategy.

ownerDescriptiveName

string

descriptiveName of the Customer which owns the bidding strategy.

Union fieldscheme. The bidding scheme.

Only one can be set.scheme can be only one of the following:

maximizeConversionValue

object (MaximizeConversionValue)

An automated bidding strategy to help get the most conversion value for your campaigns while spending your budget.

maximizeConversions

object (MaximizeConversions)

An automated bidding strategy to help get the most conversions for your campaigns while spending your budget.

targetCpa

object (TargetCpa)

A bidding strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.

targetImpressionShare

object (TargetImpressionShare)

A bidding strategy that automatically optimizes towards a chosen percentage of impressions.

targetRoas

object (TargetRoas)

A bidding strategy that helps you maximize revenue while averaging a specific target Return On Ad Spend (ROAS).

targetSpend

object (TargetSpend)

A bid strategy that sets your bids to help get as many clicks as possible within your budget.

MaximizeConversionValue

An automated bidding strategy to help get the most conversion value for your campaigns while spending your budget.

JSON representation
{"targetRoas":number}
Fields
targetRoas

number

The target return on ad spend (ROAS) option. If set, the bid strategy will maximize revenue while averaging the target return on ad spend. If the target ROAS is high, the bid strategy may not be able to spend the full budget. If the target ROAS is not set, the bid strategy will aim to achieve the highest possible ROAS for the budget.

MaximizeConversions

An automated bidding strategy to help get the most conversions for your campaigns while spending your budget.

JSON representation
{"targetCpa":string,"targetCpaMicros":string}
Fields
targetCpa

string (int64 format)

The target cost per acquisition (CPA) option. This is the average amount that you would like to spend per acquisition.

targetCpaMicros

string (int64 format)

The target cost per acquisition (CPA) option. This is the average amount that you would like to spend per acquisition.

TargetCpa

An automated bid strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.

JSON representation
{"targetCpaMicros":string}
Fields
targetCpaMicros

string (int64 format)

Average CPA target. This target should be greater than or equal to minimum billable unit based on the currency for the account.

TargetImpressionShare

An automated bidding strategy that sets bids so that a certain percentage of search ads are shown at the top of the first page (or other targeted location).

JSON representation
{"location":enum (TargetImpressionShareLocation),"locationFractionMicros":string,"cpcBidCeilingMicros":string}
Fields
location

enum (TargetImpressionShareLocation)

The targeted location on the search results page.

locationFractionMicros

string (int64 format)

The chosen fraction of ads to be shown in the targeted location in micros. For example, 1% equals 10,000.

cpcBidCeilingMicros

string (int64 format)

The highest CPC bid the automated bidding system is permitted to specify. This is a required field entered by the advertiser that sets the ceiling and specified in local micros.

TargetRoas

An automated bidding strategy that helps you maximize revenue while averaging a specific target return on ad spend (ROAS).

JSON representation
{"targetRoas":number}
Fields
targetRoas

number

The chosen revenue (based on conversion data) per unit of spend.

TargetSpend

An automated bid strategy that sets your bids to help get as many clicks as possible within your budget.

JSON representation
{"targetSpendMicros":string,"cpcBidCeilingMicros":string}
Fields
targetSpendMicros
(deprecated)

string (int64 format)

This item is deprecated!

The spend target under which to maximize clicks. A TargetSpend bidder will attempt to spend the smaller of this value or the natural throttling spend amount. If not specified, the budget is used as the spend target. This field is deprecated and should no longer be used. Seehttps://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html for details.

cpcBidCeilingMicros

string (int64 format)

Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy.

CustomerManagerLink

Represents customer-manager link relationship.

JSON representation
{"resourceName":string,"status":enum (ManagerLinkStatus),"managerCustomer":string,"managerLinkId":string,"startTime":string}
Fields
resourceName

string

Name of the resource. CustomerManagerLink resource names have the form:customers/{customerId}/customerManagerLinks/{manager_customer_id}~{managerLinkId}

status

enum (ManagerLinkStatus)

Status of the link between the customer and the manager.

managerCustomer

string

The manager customer linked to the customer.

managerLinkId

string (int64 format)

ID of the customer-manager link. This field is read only.

startTime

string

The timestamp when the CustomerManagerLink was created. The timestamp is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.

ManagerLinkStatus

Possible statuses of a link.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
ACTIVEIndicates current in-effect relationship
INACTIVEIndicates terminated relationship
PENDINGIndicates relationship has been requested by manager, but the client hasn't accepted yet.
REFUSEDRelationship was requested by the manager, but the client has refused.
CANCELEDIndicates relationship has been requested by manager, but manager canceled it.

CustomerClient

A link between the given customer and a client customer. CustomerClients only exist for manager customers. All direct and indirect client customers are included, as well as the manager itself.

JSON representation
{"resourceName":string,"appliedLabels":[string],"status":enum (CustomerStatus),"clientCustomer":string,"hidden":boolean,"level":string,"timeZone":string,"testAccount":boolean,"manager":boolean,"descriptiveName":string,"currencyCode":string,"id":string}
Fields
resourceName

string

The resource name of the customer client. CustomerClient resource names have the form:customers/{customerId}/customerClients/{client_customer_id}

appliedLabels[]

string

The resource names of the labels owned by the requesting customer that are applied to the client customer. Label resource names have the form:

customers/{customerId}/labels/{label_id}

status

enum (CustomerStatus)

The status of the client customer. Read only.

clientCustomer

string

The resource name of the client-customer which is linked to the given customer. Read only.

hidden

boolean

Specifies whether this is a hidden account.

Read only.

level

string (int64 format)

Distance between given customer and client. For self link, the level value will be 0. Read only.

timeZone

string

Common Locale Data Repository (CLDR) string representation of the time zone of the client, for example, America/Los_Angeles. Read only.

testAccount

boolean

Identifies if the client is a test account. Read only.

manager

boolean

Identifies if the client is a manager. Read only.

descriptiveName

string

Descriptive name for the client. Read only.

currencyCode

string

Currency code (for example, 'USD', 'EUR') for the client. Read only.

id

string (int64 format)

The ID of the client customer. Read only.

DynamicSearchAdsSearchTermView

A dynamic search ads search term view.

JSON representation
{"resourceName":string,"landingPage":string}
Fields
resourceName

string

The resource name of the dynamic search ads search term view. Dynamic search ads search term view resource names have the form:

customers/{customerId}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}

landingPage

string

The dynamically selected landing page URL of the impression.

This field is read-only.

GenderView

A gender view. The genderView resource reflects the effective serving state, rather than what criteria were added. An ad group without gender criteria by default shows to all genders, so all genders appear in genderView with stats.

JSON representation
{"resourceName":string}
Fields
resourceName

string

The resource name of the gender view. Gender view resource names have the form:

customers/{customerId}/genderViews/{ad_group_id}~{criterionId}

GeoTargetConstant

A geo target constant.

JSON representation
{"resourceName":string,"status":enum (GeoTargetConstantStatus),"id":string,"name":string,"countryCode":string,"targetType":string,"canonicalName":string,"parentGeoTarget":string}
Fields
resourceName

string

The resource name of the geo target constant. Geo target constant resource names have the form:

geoTargetConstants/{geo_target_constant_id}

status

enum (GeoTargetConstantStatus)

Geo target constant status.

id

string (int64 format)

The ID of the geo target constant.

name

string

Geo target constant English name.

countryCode

string

The ISO-3166-1 alpha-2 country code that is associated with the target.

targetType

string

Geo target constant target type.

canonicalName

string

The fully qualified English name, consisting of the target's name and that of its parent and country.

parentGeoTarget

string

The resource name of the parent geo target constant. Geo target constant resource names have the form:

geoTargetConstants/{parent_geo_target_constant_id}

GeoTargetConstantStatus

The possible statuses of a geo target constant.

Enums
UNSPECIFIEDNo value has been specified.
UNKNOWN

The received value is not known in this version.

This is a response-only value.

ENABLEDThe geo target constant is valid.
REMOVAL_PLANNEDThe geo target constant is obsolete and will be removed.

KeywordView

A keyword view.

JSON representation
{"resourceName":string}
Fields
resourceName

string

The resource name of the keyword view. Keyword view resource names have the form:

customers/{customerId}/keywordViews/{ad_group_id}~{criterionId}

Label

A label.

JSON representation
{"resourceName":string,"status":enum (LabelStatus),"textLabel":{object (TextLabel)},"id":string,"name":string}
Fields
resourceName

string

Name of the resource. Label resource names have the form:customers/{ownerCustomerId}/labels/{label_id}

status

enum (LabelStatus)

Status of the label. Read only.

textLabel

object (TextLabel)

A type of label displaying text on a colored background.

id

string (int64 format)

ID of the label. Read only.

name

string

The name of the label.

This field is required and should not be empty when creating a new label.

The length of this string should be between 1 and 80, inclusive.

LabelStatus

Possible statuses of a label.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
ENABLEDLabel is enabled.
REMOVEDLabel is removed.

TextLabel

A type of label displaying text on a colored background.

JSON representation
{"backgroundColor":string,"description":string}
Fields
backgroundColor

string

Background color of the label in HEX format. This string must match the regular expression '^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'. Note: The background color may not be visible for manager accounts.

description

string

A short description of the label. The length must be no more than 200 characters.

LanguageConstant

A language.

JSON representation
{"resourceName":string,"id":string,"code":string,"name":string,"targetable":boolean}
Fields
resourceName

string

The resource name of the language constant. Language constant resource names have the form:

languageConstants/{criterionId}

id

string (int64 format)

The ID of the language constant.

code

string

The language code, for example, "en_US", "en_AU", "es", "fr", etc.

name

string

The full name of the language in English, for example, "English (US)", "Spanish", etc.

targetable

boolean

Whether the language is targetable.

LocationView

A location view summarizes the performance of campaigns by a Location criterion.

JSON representation
{"resourceName":string}
Fields
resourceName

string

The resource name of the location view. Location view resource names have the form:

customers/{customerId}/locationViews/{campaign_id}~{criterionId}

ProductBiddingCategoryConstant

A Product Bidding Category.

JSON representation
{"resourceName":string,"level":enum (ProductBiddingCategoryLevel),"status":enum (ProductBiddingCategoryStatus),"id":string,"countryCode":string,"productBiddingCategoryConstantParent":string,"languageCode":string,"localizedName":string}
Fields
resourceName

string

The resource name of the product bidding category. Product bidding category resource names have the form:

productBiddingCategoryConstants/{countryCode}~{level}~{id}

level

enum (ProductBiddingCategoryLevel)

Level of the product bidding category.

status

enum (ProductBiddingCategoryStatus)

Status of the product bidding category.

id

string (int64 format)

ID of the product bidding category.

This ID is equivalent to the google_product_category ID as described in this article:https://support.google.com/merchants/answer/6324436.

countryCode

string

Two-letter upper-case country code of the product bidding category.

productBiddingCategoryConstantParent

string

Resource name of the parent product bidding category.

languageCode

string

Language code of the product bidding category.

localizedName

string

Display value of the product bidding category localized according to languageCode.

ProductBiddingCategoryLevel

Enum describing the level of the product bidding category.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
LEVEL1Level 1.
LEVEL2Level 2.
LEVEL3Level 3.
LEVEL4Level 4.
LEVEL5Level 5.

ProductBiddingCategoryStatus

Enum describing the status of the product bidding category.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
ACTIVEThe category is active and can be used for bidding.
OBSOLETEThe category is obsolete. Used only for reporting purposes.

ProductGroupView

A product group view.

JSON representation
{"resourceName":string}
Fields
resourceName

string

The resource name of the product group view. Product group view resource names have the form:

customers/{customerId}/productGroupViews/{ad_group_id}~{criterionId}

ShoppingPerformanceView

Shopping performance view. Provides Shopping campaign statistics aggregated at several product dimension levels. Product dimension values from Merchant Center such as brand, category, custom attributes, product condition and product type will reflect the state of each dimension as of the date and time when the corresponding event was recorded.

JSON representation
{"resourceName":string}
Fields
resourceName

string

The resource name of the Shopping performance view. Shopping performance view resource names have the form:customers/{customerId}/shoppingPerformanceView

UserList

A user list. This is a list of users a customer may target.

JSON representation
{"resourceName":string,"type":enum (UserListType),"id":string,"name":string}
Fields
resourceName

string

The resource name of the user list. User list resource names have the form:

customers/{customerId}/userLists/{user_list_id}

type

enum (UserListType)

Type of this list.

This field is read-only.

id

string (int64 format)

Id of the user list.

name

string

Name of this user list. Depending on its access_reason, the user list name may not be unique (for example, if access_reason=SHARED)

UserListType

Enum containing possible user list types.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
REMARKETINGUserList represented as a collection of conversion types.
LOGICALUserList represented as a combination of other user lists/interests.
EXTERNAL_REMARKETINGUserList created in the Google Ad Manager platform.
RULE_BASEDUserList associated with a rule.
SIMILARUserList with users similar to users of another UserList.
CRM_BASEDUserList of first-party CRM data provided by advertiser in the form of emails or other formats.

UserLocationView

A user location view.

User Location View includes all metrics aggregated at the country level, one row per country. It reports metrics at the actual physical location of the user by targeted or not targeted location. If other segment fields are used, you may get more than one row per country.

JSON representation
{"resourceName":string,"countryCriterionId":string,"targetingLocation":boolean}
Fields
resourceName

string

The resource name of the user location view. UserLocation view resource names have the form:

customers/{customerId}/userLocationViews/{countryCriterionId}~{targetingLocation}

countryCriterionId

string (int64 format)

Criterion Id for the country.

targetingLocation

boolean

Indicates whether location was targeted or not.

WebpageView

A webpage view.

JSON representation
{"resourceName":string}
Fields
resourceName

string

The resource name of the webpage view. Webpage view resource names have the form:

customers/{customerId}/webpageViews/{ad_group_id}~{criterionId}

Visit

A visit.

JSON representation
{"resourceName":string,"id":string,"criterionId":string,"merchantId":string,"adId":string,"clickId":string,"visitDateTime":string,"productId":string,"productChannel":enum (ProductChannel),"productLanguageCode":string,"productStoreId":string,"productCountryCode":string,"assetId":string,"assetFieldType":enum (AssetFieldType)}
Fields
resourceName

string

The resource name of the visit. Visit resource names have the form:

customers/{customerId}/visits/{ad_group_id}~{criterionId}~{ds_visit_id}

id

string (int64 format)

The ID of the visit.

criterionId

string (int64 format)

Search Ads 360 keyword ID. A value of 0 indicates that the keyword is unattributed.

merchantId

string (int64 format)

The Search Ads 360 inventory account ID containing the product that was clicked on. Search Ads 360 generates this ID when you link an inventory account in Search Ads 360.

adId

string (int64 format)

Ad ID. A value of 0 indicates that the ad is unattributed.

clickId

string

A unique string for each visit that is passed to the landing page as the click id URL parameter.

visitDateTime

string

The timestamp of the visit event. The timestamp is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.

productId

string

The ID of the product clicked on.

productChannel

enum (ProductChannel)

The sales channel of the product that was clicked on: Online or Local.

productLanguageCode

string

The language (ISO-639-1) that has been set for the Merchant Center feed containing data about the product.

productStoreId

string

The store in the Local Inventory Ad that was clicked on. This should match the store IDs used in your local products feed.

productCountryCode

string

The country (ISO-3166 format) registered for the inventory feed that contains the product clicked on.

assetId

string (int64 format)

ID of the asset which was interacted with during the visit event.

assetFieldType

enum (AssetFieldType)

Asset field type of the visit event.

ProductChannel

Enum describing the locality of a product offer.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
ONLINEThe item is sold online.
LOCALThe item is sold in local stores.

Conversion

A conversion.

JSON representation
{"resourceName":string,"id":string,"criterionId":string,"merchantId":string,"adId":string,"clickId":string,"visitId":string,"advertiserConversionId":string,"productId":string,"productChannel":enum (ProductChannel),"productLanguageCode":string,"productStoreId":string,"productCountryCode":string,"attributionType":enum (AttributionType),"conversionDateTime":string,"conversionLastModifiedDateTime":string,"conversionVisitDateTime":string,"conversionQuantity":string,"conversionRevenueMicros":string,"floodlightOriginalRevenue":string,"floodlightOrderId":string,"status":enum (ConversionStatus),"assetId":string,"assetFieldType":enum (AssetFieldType)}
Fields
resourceName

string

The resource name of the conversion. Conversion resource names have the form:

customers/{customerId}/conversions/{ad_group_id}~{criterionId}~{ds_conversion_id}

id

string (int64 format)

The ID of the conversion

criterionId

string (int64 format)

Search Ads 360 criterion ID. A value of 0 indicates that the criterion is unattributed.

merchantId

string (int64 format)

The Search Ads 360 inventory account ID containing the product that was clicked on. Search Ads 360 generates this ID when you link an inventory account in Search Ads 360.

adId

string (int64 format)

Ad ID. A value of 0 indicates that the ad is unattributed.

clickId

string

A unique string, for the visit that the conversion is attributed to, that is passed to the landing page as the click id URL parameter.

visitId

string (int64 format)

The Search Ads 360 visit ID that the conversion is attributed to.

advertiserConversionId

string

For offline conversions, this is an ID provided by advertisers. If an advertiser doesn't specify such an ID, Search Ads 360 generates one. For online conversions, this is equal to the id column or the floodlightOrderId column depending on the advertiser's Floodlight instructions.

productId

string

The ID of the product clicked on.

productChannel

enum (ProductChannel)

The sales channel of the product that was clicked on: Online or Local.

productLanguageCode

string

The language (ISO-639-1) that has been set for the Merchant Center feed containing data about the product.

productStoreId

string

The store in the Local Inventory Ad that was clicked on. This should match the store IDs used in your local products feed.

productCountryCode

string

The country (ISO-3166-format) registered for the inventory feed that contains the product clicked on.

attributionType

enum (AttributionType)

What the conversion is attributed to: Visit or Keyword+Ad.

conversionDateTime

string

The timestamp of the conversion event.

conversionLastModifiedDateTime

string

The timestamp of the last time the conversion was modified.

conversionVisitDateTime

string

The timestamp of the visit that the conversion is attributed to.

conversionQuantity

string (int64 format)

The quantity of items recorded by the conversion, as determined by the qty url parameter. The advertiser is responsible for dynamically populating the parameter (such as number of items sold in the conversion), otherwise it defaults to 1.

conversionRevenueMicros

string (int64 format)

The adjusted revenue in micros for the conversion event. This will always be in the currency of the serving account.

floodlightOriginalRevenue

string (int64 format)

The original, unchanged revenue associated with the Floodlight event (in the currency of the current report), before Floodlight currency instruction modifications.

floodlightOrderId

string

The Floodlight order ID provided by the advertiser for the conversion.

status

enum (ConversionStatus)

The status of the conversion, either ENABLED or REMOVED..

assetId

string (int64 format)

ID of the asset which was interacted with during the conversion event.

assetFieldType

enum (AssetFieldType)

Asset field type of the conversion event.

AttributionType

Conversion attribution type in SearchAds360

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
VISITThe conversion is attributed to a visit.
CRITERION_ADThe conversion is attributed to a criterion and ad pair.

ConversionStatus

Possible statuses of a conversion.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
ENABLEDThe conversion is enabled.
REMOVEDThe conversion has been removed.

Metrics

Metrics data.

JSON representation
{"allConversionsValueByConversionDate":number,"allConversionsByConversionDate":number,"conversionCustomMetrics":[{object (Value)}],"conversionsValueByConversionDate":number,"conversionsByConversionDate":number,"historicalCreativeQualityScore":enum (QualityScoreBucket),"historicalLandingPageQualityScore":enum (QualityScoreBucket),"historicalSearchPredictedCtr":enum (QualityScoreBucket),"interactionEventTypes":[enum (InteractionEventType)],"rawEventConversionMetrics":[{object (Value)}],"absoluteTopImpressionPercentage":number,"allConversionsFromInteractionsRate":number,"allConversionsValue":number,"allConversions":number,"allConversionsValuePerCost":number,"allConversionsFromClickToCall":number,"allConversionsFromDirections":number,"allConversionsFromInteractionsValuePerInteraction":number,"allConversionsFromMenu":number,"allConversionsFromOrder":number,"allConversionsFromOtherEngagement":number,"allConversionsFromStoreVisit":number,"visits":number,"allConversionsFromStoreWebsite":number,"averageCost":number,"averageCpc":number,"averageCpm":number,"clicks":string,"contentBudgetLostImpressionShare":number,"contentImpressionShare":number,"contentRankLostImpressionShare":number,"conversionsFromInteractionsRate":number,"clientAccountConversionsValue":number,"conversionsValuePerCost":number,"conversionsFromInteractionsValuePerInteraction":number,"clientAccountConversions":number,"costMicros":string,"costPerAllConversions":number,"costPerConversion":number,"costPerCurrentModelAttributedConversion":number,"crossDeviceConversions":number,"crossDeviceConversionsByConversionDate":number,"crossDeviceConversionsValue":number,"crossDeviceConversionsValueByConversionDate":number,"ctr":number,"conversions":number,"conversionsValue":number,"averageQualityScore":number,"historicalQualityScore":string,"impressions":string,"interactionRate":number,"interactions":string,"invalidClickRate":number,"invalidClicks":string,"generalInvalidClickRate":number,"generalInvalidClicks":string,"mobileFriendlyClicksPercentage":number,"searchAbsoluteTopImpressionShare":number,"searchBudgetLostAbsoluteTopImpressionShare":number,"searchBudgetLostImpressionShare":number,"searchBudgetLostTopImpressionShare":number,"searchClickShare":number,"searchExactMatchImpressionShare":number,"searchImpressionShare":number,"searchRankLostAbsoluteTopImpressionShare":number,"searchRankLostImpressionShare":number,"searchRankLostTopImpressionShare":number,"searchTopImpressionShare":number,"topImpressionPercentage":number,"valuePerAllConversions":number,"valuePerAllConversionsByConversionDate":number,"valuePerConversion":number,"valuePerConversionsByConversionDate":number,"clientAccountViewThroughConversions":string,"clientAccountCrossSellCostOfGoodsSoldMicros":string,"crossSellCostOfGoodsSoldMicros":string,"clientAccountCrossSellGrossProfitMicros":string,"crossSellGrossProfitMicros":string,"clientAccountCrossSellRevenueMicros":string,"crossSellRevenueMicros":string,"clientAccountCrossSellUnitsSold":number,"crossSellUnitsSold":number,"clientAccountLeadCostOfGoodsSoldMicros":string,"leadCostOfGoodsSoldMicros":string,"clientAccountLeadGrossProfitMicros":string,"leadGrossProfitMicros":string,"clientAccountLeadRevenueMicros":string,"leadRevenueMicros":string,"clientAccountLeadUnitsSold":number,"leadUnitsSold":number,"uniqueUsers":string,"averageImpressionFrequencyPerUser":number}
Fields
allConversionsValueByConversionDate

number

The value of all conversions. When this column is selected with date, the values in date column means the conversion date. Details for the by_conversion_date columns are available athttps://support.google.com/sa360/answer/9250611.

allConversionsByConversionDate

number

The total number of conversions. This includes all conversions regardless of the value of includeInConversionsMetric. When this column is selected with date, the values in date column means the conversion date. Details for the by_conversion_date columns are available athttps://support.google.com/sa360/answer/9250611.

conversionCustomMetrics[]

object (Value)

The conversion custom metrics.

conversionsValueByConversionDate

number

The sum of biddable conversions value by conversion date. When this column is selected with date, the values in date column means the conversion date.

conversionsByConversionDate

number

The sum of conversions by conversion date for biddable conversion types. Can be fractional due to attribution modeling. When this column is selected with date, the values in date column means the conversion date.

historicalCreativeQualityScore

enum (QualityScoreBucket)

The creative historical quality score.

historicalLandingPageQualityScore

enum (QualityScoreBucket)

The quality of historical landing page experience.

historicalSearchPredictedCtr

enum (QualityScoreBucket)

The historical search predicted click through rate (CTR).

interactionEventTypes[]

enum (InteractionEventType)

The types of payable and free interactions.

rawEventConversionMetrics[]

object (Value)

The raw event conversion metrics.

absoluteTopImpressionPercentage

number

Search absolute top impression share is the percentage of your Search ad impressions that are shown in the most prominent Search position.

allConversionsFromInteractionsRate

number

All conversions from interactions (as oppose to view through conversions) divided by the number of ad interactions.

allConversionsValue

number

The value of all conversions.

allConversions

number

The total number of conversions. This includes all conversions regardless of the value of includeInConversionsMetric.

allConversionsValuePerCost

number

The value of all conversions divided by the total cost of ad interactions (such as clicks for text ads or views for video ads).

allConversionsFromClickToCall

number

The number of times people clicked the "Call" button to call a store during or after clicking an ad. This number doesn't include whether or not calls were connected, or the duration of any calls.

This metric applies to feed items only.

allConversionsFromDirections

number

The number of times people clicked a "Get directions" button to navigate to a store after clicking an ad.

This metric applies to feed items only.

allConversionsFromInteractionsValuePerInteraction

number

The value of all conversions from interactions divided by the total number of interactions.

allConversionsFromMenu

number

The number of times people clicked a link to view a store's menu after clicking an ad.

This metric applies to feed items only.

allConversionsFromOrder

number

The number of times people placed an order at a store after clicking an ad.

This metric applies to feed items only.

allConversionsFromOtherEngagement

number

The number of other conversions (for example, posting a review or saving a location for a store) that occurred after people clicked an ad.

This metric applies to feed items only.

allConversionsFromStoreVisit

number

Estimated number of times people visited a store after clicking an ad.

This metric applies to feed items only.

visits

number

Clicks that Search Ads 360 has successfully recorded and forwarded to an advertiser's landing page.

allConversionsFromStoreWebsite

number

The number of times that people were taken to a store's URL after clicking an ad.

This metric applies to feed items only.

averageCost

number

The average amount you pay per interaction. This amount is the total cost of your ads divided by the total number of interactions.

averageCpc

number

The total cost of all clicks divided by the total number of clicks received. This metric is a monetary value and returned in the customer's currency by default. See the metrics_currency parameter athttps://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause

averageCpm

number

Average cost-per-thousand impressions (CPM). This metric is a monetary value and returned in the customer's currency by default. See the metrics_currency parameter athttps://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause

clicks

string (int64 format)

The number of clicks.

contentBudgetLostImpressionShare

number

The estimated percent of times that your ad was eligible to show on the Display Network but didn't because your budget was too low. Note: Content budget lost impression share is reported in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001.

contentImpressionShare

number

The impressions you've received on the Display Network divided by the estimated number of impressions you were eligible to receive. Note: Content impression share is reported in the range of 0.1 to 1. Any value below 0.1 is reported as 0.0999.

contentRankLostImpressionShare

number

The estimated percentage of impressions on the Display Network that your ads didn't receive due to poor Ad Rank. Note: Content rank lost impression share is reported in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001.

conversionsFromInteractionsRate

number

Average biddable conversions (from interaction) per conversion eligible interaction. Shows how often, on average, an ad interaction leads to a biddable conversion.

clientAccountConversionsValue

number

The value of client account conversions. This only includes conversion actions which includeInClientAccountConversionsMetric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.

conversionsValuePerCost

number

The value of biddable conversion divided by the total cost of conversion eligible interactions.

conversionsFromInteractionsValuePerInteraction

number

The value of conversions from interactions divided by the number of ad interactions. This only includes conversion actions which includeInConversionsMetric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.

clientAccountConversions

number

The number of client account conversions. This only includes conversion actions which includeInClientAccountConversionsMetric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.

costMicros

string (int64 format)

The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period. This metric is a monetary value and returned in the customer's currency by default. See the metrics_currency parameter athttps://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause

costPerAllConversions

number

The cost of ad interactions divided by all conversions.

costPerConversion

number

Average conversion eligible cost per biddable conversion.

costPerCurrentModelAttributedConversion

number

The cost of ad interactions divided by current model attributed conversions. This only includes conversion actions which includeInConversionsMetric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.

crossDeviceConversions

number

Conversions from when a customer clicks on an ad on one device, then converts on a different device or browser. Cross-device conversions are already included in allConversions.

crossDeviceConversionsByConversionDate

number

The number of cross-device conversions by conversion date. Details for the by_conversion_date columns are available athttps://support.google.com/sa360/answer/9250611.

crossDeviceConversionsValue

number

The sum of the value of cross-device conversions.

crossDeviceConversionsValueByConversionDate

number

The sum of cross-device conversions value by conversion date. Details for the by_conversion_date columns are available athttps://support.google.com/sa360/answer/9250611.

ctr

number

The number of clicks your ad receives (Clicks) divided by the number of times your ad is shown (Impressions).

conversions

number

The number of conversions. This only includes conversion actions which includeInConversionsMetric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.

conversionsValue

number

The sum of conversion values for the conversions included in the "conversions" field. This metric is useful only if you entered a value for your conversion actions.

averageQualityScore

number

The average quality score.

historicalQualityScore

string (int64 format)

The historical quality score.

impressions

string (int64 format)

Count of how often your ad has appeared on a search results page or website on the Google Network.

interactionRate

number

How often people interact with your ad after it is shown to them. This is the number of interactions divided by the number of times your ad is shown.

interactions

string (int64 format)

The number of interactions. An interaction is the main user action associated with an ad format-clicks for text and shopping ads, views for video ads, and so on.

invalidClickRate

number

The percentage of clicks filtered out of your total number of clicks (filtered + non-filtered clicks) during the reporting period.

invalidClicks

string (int64 format)

Number of clicks Google considers illegitimate and doesn't charge you for.

generalInvalidClickRate

number

The percentage of clicks that have been filtered out of your total number of clicks (filtered + non-filtered clicks) due to being general invalid clicks. These are clicks Google considers illegitimate that are detected through routine means of filtration (that is, known invalid data-center traffic, bots and spiders or other crawlers, irregular patterns, etc). You're not charged for them, and they don't affect your account statistics. See the help page athttps://support.google.com/campaignmanager/answer/6076504 for details.

generalInvalidClicks

string (int64 format)

Number of general invalid clicks. These are a subset of your invalid clicks that are detected through routine means of filtration (such as known invalid data-center traffic, bots and spiders or other crawlers, irregular patterns, etc.). You're not charged for them, and they don't affect your account statistics. See the help page athttps://support.google.com/campaignmanager/answer/6076504 for details.

mobileFriendlyClicksPercentage

number

The percentage of mobile clicks that go to a mobile-friendly page.

searchAbsoluteTopImpressionShare

number

The percentage of the customer's Shopping or Search ad impressions that are shown in the most prominent Shopping position. Seehttps://support.google.com/sa360/answer/9566729 for details. Any value below 0.1 is reported as 0.0999.

searchBudgetLostAbsoluteTopImpressionShare

number

The number estimating how often your ad wasn't the very first ad among the top ads in the search results due to a low budget. Note: Search budget lost absolute top impression share is reported in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001.

searchBudgetLostImpressionShare

number

The estimated percent of times that your ad was eligible to show on the Search Network but didn't because your budget was too low. Note: Search budget lost impression share is reported in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001.

searchBudgetLostTopImpressionShare

number

The number estimating how often your ad didn't show adjacent to the top organic search results due to a low budget. Note: Search budget lost top impression share is reported in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001.

searchClickShare

number

The number of clicks you've received on the Search Network divided by the estimated number of clicks you were eligible to receive. Note: Search click share is reported in the range of 0.1 to 1. Any value below 0.1 is reported as 0.0999.

searchExactMatchImpressionShare

number

The impressions you've received divided by the estimated number of impressions you were eligible to receive on the Search Network for search terms that matched your keywords exactly (or were close variants of your keyword), regardless of your keyword match types. Note: Search exact match impression share is reported in the range of 0.1 to 1. Any value below 0.1 is reported as 0.0999.

searchImpressionShare

number

The impressions you've received on the Search Network divided by the estimated number of impressions you were eligible to receive. Note: Search impression share is reported in the range of 0.1 to 1. Any value below 0.1 is reported as 0.0999.

searchRankLostAbsoluteTopImpressionShare

number

The number estimating how often your ad wasn't the very first ad among the top ads in the search results due to poor Ad Rank. Note: Search rank lost absolute top impression share is reported in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001.

searchRankLostImpressionShare

number

The estimated percentage of impressions on the Search Network that your ads didn't receive due to poor Ad Rank. Note: Search rank lost impression share is reported in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001.

searchRankLostTopImpressionShare

number

The number estimating how often your ad didn't show adjacent to the top organic search results due to poor Ad Rank. Note: Search rank lost top impression share is reported in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001.

searchTopImpressionShare

number

The impressions you've received among the top ads compared to the estimated number of impressions you were eligible to receive among the top ads. Note: Search top impression share is reported in the range of 0.1 to 1. Any value below 0.1 is reported as 0.0999.

Top ads are generally above the top organic results, although they may show below the top organic results on certain queries.

topImpressionPercentage

number

The percent of your ad impressions that are shown adjacent to the top organic search results.

valuePerAllConversions

number

The value of all conversions divided by the number of all conversions.

valuePerAllConversionsByConversionDate

number

The value of all conversions divided by the number of all conversions. When this column is selected with date, the values in date column means the conversion date. Details for the by_conversion_date columns are available athttps://support.google.com/sa360/answer/9250611.

valuePerConversion

number

The value of biddable conversion divided by the number of biddable conversions. Shows how much, on average, each of the biddable conversions is worth.

valuePerConversionsByConversionDate

number

Biddable conversions value by conversion date divided by biddable conversions by conversion date. Shows how much, on average, each of the biddable conversions is worth (by conversion date). When this column is selected with date, the values in date column means the conversion date.

clientAccountViewThroughConversions

string (int64 format)

The total number of view-through conversions. These happen when a customer sees an image or rich media ad, then later completes a conversion on your site without interacting with (for example, clicking on) another ad.

clientAccountCrossSellCostOfGoodsSoldMicros

string (int64 format)

Client account cross-sell cost of goods sold (COGS) is the total cost of products sold as a result of advertising a different product. How it works: You report conversions with cart data for completed purchases on your website. If the ad that was interacted with before the purchase has an associated product (see Shopping Ads) then this product is considered the advertised product. Any product included in the order the customer places is a sold product. If these products don't match then this is considered cross-sell. Cross-sell cost of goods sold is the total cost of the products sold that weren't advertised. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat has a cost of goods sold value of $3, the shirt has a cost of goods sold value of $5. The cross-sell cost of goods sold for this order is $5. This metric is only available if you report conversions with cart data. This metric is a monetary value and returned in the customer's currency by default. See the metrics_currency parameter athttps://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause

crossSellCostOfGoodsSoldMicros

string (int64 format)

Cross-sell cost of goods sold (COGS) is the total cost of products sold as a result of advertising a different product. How it works: You report conversions with cart data for completed purchases on your website. If the ad that was interacted with before the purchase has an associated product (see Shopping Ads) then this product is considered the advertised product. Any product included in the order the customer places is a sold product. If these products don't match then this is considered cross-sell. Cross-sell cost of goods sold is the total cost of the products sold that weren't advertised. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat has a cost of goods sold value of $3, the shirt has a cost of goods sold value of $5. The cross-sell cost of goods sold for this order is $5. This metric is only available if you report conversions with cart data. This metric is a monetary value and returned in the customer's currency by default. See the metrics_currency parameter athttps://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause

clientAccountCrossSellGrossProfitMicros

string (int64 format)

Client account cross-sell gross profit is the profit you made from products sold as a result of advertising a different product, minus cost of goods sold (COGS). How it works: You report conversions with cart data for completed purchases on your website. If the ad that was interacted with before the purchase has an associated product (see Shopping Ads) then this product is considered the advertised product. Any product included in the purchase is a sold product. If these products don't match then this is considered cross-sell. Cross-sell gross profit is the revenue you made from cross-sell attributed to your ads minus the cost of the goods sold. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The shirt is priced $20 and has a cost of goods sold value of $5. The cross-sell gross profit of this order is $15 = $20 - $5. This metric is only available if you report conversions with cart data. This metric is a monetary value and returned in the customer's currency by default. See the metrics_currency parameter athttps://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause

crossSellGrossProfitMicros

string (int64 format)

Cross-sell gross profit is the profit you made from products sold as a result of advertising a different product, minus cost of goods sold (COGS). How it works: You report conversions with cart data for completed purchases on your website. If the ad that was interacted with before the purchase has an associated product (see Shopping Ads) then this product is considered the advertised product. Any product included in the purchase is a sold product. If these products don't match then this is considered cross-sell. Cross-sell gross profit is the revenue you made from cross-sell attributed to your ads minus the cost of the goods sold. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The shirt is priced $20 and has a cost of goods sold value of $5. The cross-sell gross profit of this order is $15 = $20 - $5. This metric is only available if you report conversions with cart data. This metric is a monetary value and returned in the customer's currency by default. See the metrics_currency parameter athttps://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause

clientAccountCrossSellRevenueMicros

string (int64 format)

Client account cross-sell revenue is the total amount you made from products sold as a result of advertising a different product. How it works: You report conversions with cart data for completed purchases on your website. If the ad that was interacted with before the purchase has an associated product (see Shopping Ads) then this product is considered the advertised product. Any product included in the order the customer places is a sold product. If these products don't match then this is considered cross-sell. Cross-sell revenue is the total value you made from cross-sell attributed to your ads. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat is priced $10 and the shirt is priced $20. The cross-sell revenue of this order is $20. This metric is only available if you report conversions with cart data. This metric is a monetary value and returned in the customer's currency by default. See the metrics_currency parameter athttps://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause

crossSellRevenueMicros

string (int64 format)

Cross-sell revenue is the total amount you made from products sold as a result of advertising a different product. How it works: You report conversions with cart data for completed purchases on your website. If the ad that was interacted with before the purchase has an associated product (see Shopping Ads) then this product is considered the advertised product. Any product included in the order the customer places is a sold product. If these products don't match then this is considered cross-sell. Cross-sell revenue is the total value you made from cross-sell attributed to your ads. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat is priced $10 and the shirt is priced $20. The cross-sell revenue of this order is $20. This metric is only available if you report conversions with cart data. This metric is a monetary value and returned in the customer's currency by default. See the metrics_currency parameter athttps://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause

clientAccountCrossSellUnitsSold

number

Client account cross-sell units sold is the total number of products sold as a result of advertising a different product. How it works: You report conversions with cart data for completed purchases on your website. If the ad that was interacted with before the purchase has an associated product (see Shopping Ads) then this product is considered the advertised product. Any product included in the order the customer places is a sold product. If these products don't match then this is considered cross-sell. Cross-sell units sold is the total number of cross-sold products from all orders attributed to your ads. Example: Someone clicked on a Shopping ad for a hat then bought the same hat, a shirt and a jacket. The cross-sell units sold in this order is 2. This metric is only available if you report conversions with cart data.

crossSellUnitsSold

number

Cross-sell units sold is the total number of products sold as a result of advertising a different product. How it works: You report conversions with cart data for completed purchases on your website. If the ad that was interacted with before the purchase has an associated product (see Shopping Ads) then this product is considered the advertised product. Any product included in the order the customer places is a sold product. If these products don't match then this is considered cross-sell. Cross-sell units sold is the total number of cross-sold products from all orders attributed to your ads. Example: Someone clicked on a Shopping ad for a hat then bought the same hat, a shirt and a jacket. The cross-sell units sold in this order is 2. This metric is only available if you report conversions with cart data.

clientAccountLeadCostOfGoodsSoldMicros

string (int64 format)

Client account lead cost of goods sold (COGS) is the total cost of products sold as a result of advertising the same product. How it works: You report conversions with cart data for completed purchases on your website. If the ad that was interacted with has an associated product (see Shopping Ads) then this product is considered the advertised product. Any product included in the order the customer places is a sold product. If the advertised and sold products match, then the cost of these goods is counted under lead cost of goods sold. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat has a cost of goods sold value of $3, the shirt has a cost of goods sold value of $5. The lead cost of goods sold for this order is $3. This metric is only available if you report conversions with cart data. This metric is a monetary value and returned in the customer's currency by default. See the metrics_currency parameter athttps://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause

leadCostOfGoodsSoldMicros

string (int64 format)

Lead cost of goods sold (COGS) is the total cost of products sold as a result of advertising the same product. How it works: You report conversions with cart data for completed purchases on your website. If the ad that was interacted with has an associated product (see Shopping Ads) then this product is considered the advertised product. Any product included in the order the customer places is a sold product. If the advertised and sold products match, then the cost of these goods is counted under lead cost of goods sold. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat has a cost of goods sold value of $3, the shirt has a cost of goods sold value of $5. The lead cost of goods sold for this order is $3. This metric is only available if you report conversions with cart data. This metric is a monetary value and returned in the customer's currency by default. See the metrics_currency parameter athttps://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause

clientAccountLeadGrossProfitMicros

string (int64 format)

Client account lead gross profit is the profit you made from products sold as a result of advertising the same product, minus cost of goods sold (COGS). How it works: You report conversions with cart data for completed purchases on your website. If the ad that was interacted with before the purchase has an associated product (see Shopping Ads) then this product is considered the advertised product. Any product included in the order the customer places is a sold product. If the advertised and sold products match, then the revenue you made from these sales minus the cost of goods sold is your lead gross profit. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat is priced $10 and has a cost of goods sold value of $3. The lead gross profit of this order is $7 = $10 - $3. This metric is only available if you report conversions with cart data. This metric is a monetary value and returned in the customer's currency by default. See the metrics_currency parameter athttps://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause

leadGrossProfitMicros

string (int64 format)

Lead gross profit is the profit you made from products sold as a result of advertising the same product, minus cost of goods sold (COGS). How it works: You report conversions with cart data for completed purchases on your website. If the ad that was interacted with before the purchase has an associated product (see Shopping Ads) then this product is considered the advertised product. Any product included in the order the customer places is a sold product. If the advertised and sold products match, then the revenue you made from these sales minus the cost of goods sold is your lead gross profit. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat is priced $10 and has a cost of goods sold value of $3. The lead gross profit of this order is $7 = $10 - $3. This metric is only available if you report conversions with cart data. This metric is a monetary value and returned in the customer's currency by default. See the metrics_currency parameter athttps://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause

clientAccountLeadRevenueMicros

string (int64 format)

Client account lead revenue is the total amount you made from products sold as a result of advertising the same product. How it works: You report conversions with cart data for completed purchases on your website. If the ad that was interacted with before the purchase has an associated product (see Shopping Ads) then this product is considered the advertised product. Any product included in the order the customer places is a sold product. If the advertised and sold products match, then the total value you made from the sales of these products is shown under lead revenue. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat is priced $10 and the shirt is priced $20. The lead revenue of this order is $10. This metric is only available if you report conversions with cart data. This metric is a monetary value and returned in the customer's currency by default. See the metrics_currency parameter athttps://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause

leadRevenueMicros

string (int64 format)

Lead revenue is the total amount you made from products sold as a result of advertising the same product. How it works: You report conversions with cart data for completed purchases on your website. If the ad that was interacted with before the purchase has an associated product (see Shopping Ads) then this product is considered the advertised product. Any product included in the order the customer places is a sold product. If the advertised and sold products match, then the total value you made from the sales of these products is shown under lead revenue. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat is priced $10 and the shirt is priced $20. The lead revenue of this order is $10. This metric is only available if you report conversions with cart data. This metric is a monetary value and returned in the customer's currency by default. See the metrics_currency parameter athttps://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause

clientAccountLeadUnitsSold

number

Client account lead units sold is the total number of products sold as a result of advertising the same product. How it works: You report conversions with cart data for completed purchases on your website. If the ad that was interacted with before the purchase has an associated product (see Shopping Ads) then this product is considered the advertised product. Any product included in the order the customer places is a sold product. If the advertised and sold products match, then the total number of these products sold is shown under lead units sold. Example: Someone clicked on a Shopping ad for a hat then bought the same hat, a shirt and a jacket. The lead units sold in this order is 1. This metric is only available if you report conversions with cart data.

leadUnitsSold

number

Lead units sold is the total number of products sold as a result of advertising the same product. How it works: You report conversions with cart data for completed purchases on your website. If the ad that was interacted with before the purchase has an associated product (see Shopping Ads) then this product is considered the advertised product. Any product included in the order the customer places is a sold product. If the advertised and sold products match, then the total number of these products sold is shown under lead units sold. Example: Someone clicked on a Shopping ad for a hat then bought the same hat, a shirt and a jacket. The lead units sold in this order is 1. This metric is only available if you report conversions with cart data.

uniqueUsers

string (int64 format)

The number of unique users who saw your ad during the requested time period. This metric cannot be aggregated, and can only be requested for date ranges of 92 days or less. This metric is available for following campaign types - Display, Video, Discovery and App.

averageImpressionFrequencyPerUser

number

The average number of times a unique user saw your ad during the requested time period. This metric cannot be aggregated, and can only be requested for date ranges of 92 days or less. This metric is available for following campaign types - Display, Video, Discovery and App.

Value

A generic data container.

JSON representation
{// Union fieldvalue can be only one of the following:"booleanValue":boolean,"int64Value":string,"floatValue":number,"doubleValue":number,"stringValue":string// End of list of possible types for union fieldvalue.}
Fields
Union fieldvalue. A value.value can be only one of the following:
booleanValue

boolean

A boolean.

int64Value

string (int64 format)

An int64.

floatValue

number

A float.

doubleValue

number

A double.

stringValue

string

A string.

QualityScoreBucket

Enum listing the possible quality score buckets.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
BELOW_AVERAGEQuality of the creative is below average.
AVERAGEQuality of the creative is average.
ABOVE_AVERAGEQuality of the creative is above average.

InteractionEventType

Enum describing possible types of payable and free interactions.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
CLICKClick to site. In most cases, this interaction navigates to an external location, usually the advertiser's landing page. This is also the default InteractionEventType for click events.
ENGAGEMENTThe user's expressed intent to engage with the ad in-place.
VIDEO_VIEWUser viewed a video ad.
NONEThe default InteractionEventType for ad conversion events. This is used when an ad conversion row does NOT indicate that the free interactions (for example, the ad conversions) should be 'promoted' and reported as part of the core metrics. These are simply other (ad) conversions.

Segments

Segment only fields.

JSON representation
{"adNetworkType":enum (AdNetworkType),"conversionActionCategory":enum (ConversionActionCategory),"conversionCustomDimensions":[{object (Value)}],"dayOfWeek":enum (DayOfWeek),"device":enum (Device),"keyword":{object (Keyword)},"productChannel":enum (ProductChannel),"productChannelExclusivity":enum (ProductChannelExclusivity),"productCondition":enum (ProductCondition),"productSoldCondition":enum (ProductCondition),"rawEventConversionDimensions":[{object (Value)}],"conversionAction":string,"conversionActionName":string,"date":string,"geoTargetCity":string,"geoTargetCountry":string,"geoTargetMetro":string,"geoTargetRegion":string,"hour":integer,"month":string,"productBiddingCategoryLevel1":string,"productBiddingCategoryLevel2":string,"productBiddingCategoryLevel3":string,"productBiddingCategoryLevel4":string,"productBiddingCategoryLevel5":string,"productBrand":string,"productCountry":string,"productCustomAttribute0":string,"productCustomAttribute1":string,"productCustomAttribute2":string,"productCustomAttribute3":string,"productCustomAttribute4":string,"productItemId":string,"productLanguage":string,"productSoldBiddingCategoryLevel1":string,"productSoldBiddingCategoryLevel2":string,"productSoldBiddingCategoryLevel3":string,"productSoldBiddingCategoryLevel4":string,"productSoldBiddingCategoryLevel5":string,"productSoldBrand":string,"productSoldCustomAttribute0":string,"productSoldCustomAttribute1":string,"productSoldCustomAttribute2":string,"productSoldCustomAttribute3":string,"productSoldCustomAttribute4":string,"productSoldItemId":string,"productSoldTitle":string,"productSoldTypeL1":string,"productSoldTypeL2":string,"productSoldTypeL3":string,"productSoldTypeL4":string,"productSoldTypeL5":string,"productStoreId":string,"productTitle":string,"productTypeL1":string,"productTypeL2":string,"productTypeL3":string,"productTypeL4":string,"productTypeL5":string,"quarter":string,"week":string,"year":integer,"assetInteractionTarget":{object (AssetInteractionTarget)}}
Fields
adNetworkType

enum (AdNetworkType)

Ad network type.

conversionActionCategory

enum (ConversionActionCategory)

Conversion action category.

conversionCustomDimensions[]

object (Value)

The conversion custom dimensions.

dayOfWeek

enum (DayOfWeek)

Day of the week, for example, MONDAY.

device

enum (Device)

Device to which metrics apply.

keyword

object (Keyword)

Keyword criterion.

productChannel

enum (ProductChannel)

Channel of the product.

productChannelExclusivity

enum (ProductChannelExclusivity)

Channel exclusivity of the product.

productCondition

enum (ProductCondition)

Condition of the product.

productSoldCondition

enum (ProductCondition)

Condition of the product sold.

rawEventConversionDimensions[]

object (Value)

The raw event conversion dimensions.

conversionAction

string

Resource name of the conversion action.

conversionActionName

string

Conversion action name.

date

string

Date to which metrics apply. yyyy-MM-dd format, for example, 2018-04-17.

geoTargetCity

string

Resource name of the geo target constant that represents a city.

geoTargetCountry

string

Resource name of the geo target constant that represents a country.

geoTargetMetro

string

Resource name of the geo target constant that represents a metro.

geoTargetRegion

string

Resource name of the geo target constant that represents a region.

hour

integer

Hour of day as a number between 0 and 23, inclusive.

month

string

Month as represented by the date of the first day of a month. Formatted as yyyy-MM-dd.

productBiddingCategoryLevel1

string

Bidding category (level 1) of the product.

productBiddingCategoryLevel2

string

Bidding category (level 2) of the product.

productBiddingCategoryLevel3

string

Bidding category (level 3) of the product.

productBiddingCategoryLevel4

string

Bidding category (level 4) of the product.

productBiddingCategoryLevel5

string

Bidding category (level 5) of the product.

productBrand

string

Brand of the product.

productCountry

string

Resource name of the geo target constant for the country of sale of the product.

productCustomAttribute0

string

Custom attribute 0 of the product.

productCustomAttribute1

string

Custom attribute 1 of the product.

productCustomAttribute2

string

Custom attribute 2 of the product.

productCustomAttribute3

string

Custom attribute 3 of the product.

productCustomAttribute4

string

Custom attribute 4 of the product.

productItemId

string

Item ID of the product.

productLanguage

string

Resource name of the language constant for the language of the product.

productSoldBiddingCategoryLevel1

string

Bidding category (level 1) of the product sold.

productSoldBiddingCategoryLevel2

string

Bidding category (level 2) of the product sold.

productSoldBiddingCategoryLevel3

string

Bidding category (level 3) of the product sold.

productSoldBiddingCategoryLevel4

string

Bidding category (level 4) of the product sold.

productSoldBiddingCategoryLevel5

string

Bidding category (level 5) of the product sold.

productSoldBrand

string

Brand of the product sold.

productSoldCustomAttribute0

string

Custom attribute 0 of the product sold.

productSoldCustomAttribute1

string

Custom attribute 1 of the product sold.

productSoldCustomAttribute2

string

Custom attribute 2 of the product sold.

productSoldCustomAttribute3

string

Custom attribute 3 of the product sold.

productSoldCustomAttribute4

string

Custom attribute 4 of the product sold.

productSoldItemId

string

Item ID of the product sold.

productSoldTitle

string

Title of the product sold.

productSoldTypeL1

string

Type (level 1) of the product sold.

productSoldTypeL2

string

Type (level 2) of the product sold.

productSoldTypeL3

string

Type (level 3) of the product sold.

productSoldTypeL4

string

Type (level 4) of the product sold.

productSoldTypeL5

string

Type (level 5) of the product sold.

productStoreId

string

Store ID of the product.

productTitle

string

Title of the product.

productTypeL1

string

Type (level 1) of the product.

productTypeL2

string

Type (level 2) of the product.

productTypeL3

string

Type (level 3) of the product.

productTypeL4

string

Type (level 4) of the product.

productTypeL5

string

Type (level 5) of the product.

quarter

string

Quarter as represented by the date of the first day of a quarter. Uses the calendar year for quarters, for example, the second quarter of 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd.

week

string

Week as defined as Monday through Sunday, and represented by the date of Monday. Formatted as yyyy-MM-dd.

year

integer

Year, formatted as yyyy.

assetInteractionTarget

object (AssetInteractionTarget)

Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. Indicates whether the interaction metrics occurred on the asset itself or a different asset or ad unit. Interactions (for example, clicks) are counted across all the parts of the served ad (for example, Ad itself and other components like Sitelinks) when they are served together. When interactionOnThisAsset is true, it means the interactions are on this specific asset and when interactionOnThisAsset is false, it means the interactions is not on this specific asset but on other parts of the served ad this asset is served with.

AdNetworkType

Enumerates Google Ads network types.

Enums
UNSPECIFIEDNot specified.
UNKNOWNThe value is unknown in this version.
SEARCHGoogle search.
SEARCH_PARTNERSSearch partners.
CONTENTDisplay Network.
YOUTUBE_SEARCHYouTube Search.
YOUTUBE_WATCHYouTube Videos
MIXEDCross-network.

Keyword

A Keyword criterion segment.

JSON representation
{"info":{object (KeywordInfo)},"adGroupCriterion":string}
Fields
info

object (KeywordInfo)

Keyword info.

adGroupCriterion

string

The AdGroupCriterion resource name.

ProductChannelExclusivity

Enum describing the availability of a product offer.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
SINGLE_CHANNELThe item is sold through one channel only, either local stores or online as indicated by its ProductChannel.
MULTI_CHANNELThe item is matched to its online or local stores counterpart, indicating it is available for purchase in both ShoppingProductChannels.

ProductCondition

Enum describing the condition of a product offer.

Enums
UNSPECIFIEDNot specified.
UNKNOWNUsed for return value only. Represents value unknown in this version.
OLDThe product condition is old.
NEWThe product condition is new.
REFURBISHEDThe product condition is refurbished.
USEDThe product condition is used.

AssetInteractionTarget

An AssetInteractionTarget segment.

JSON representation
{"asset":string,"interactionOnThisAsset":boolean}
Fields
asset

string

The asset resource name.

interactionOnThisAsset

boolean

Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. Indicates whether the interaction metrics occurred on the asset itself or a different asset or ad unit.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-11-12 UTC.