Google Ads · JSON-LD Context

Google Ads Context

JSON-LD context defining the semantic vocabulary for Google Ads from Google Ads.

70 Classes 36 Properties 3 Namespaces
View Context View on GitHub

Namespaces

gads: https://developers.google.com/google-ads/api/schema/
schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#

Classes

Campaign AdGroup Ad AdGroupAd AdGroupCriterion Keyword CampaignBudget BiddingStrategy ResponsiveSearchAd ResponsiveDisplayAd Customer PerformanceReport ConversionAction GeoTarget AdAsset Label AdExtension Audience RemarketingList name description identifier dateCreated dateModified status currency price priceCurrency amount value category keywords position resourceName campaignId adGroupId adId customerId criterionId advertisingChannelType advertisingChannelSubType biddingStrategyType targetRoas conversions conversionsValue ctr conversionRate costPerConversion searchImpressionShare interactionRate qualityScore keywordText matchType headlines descriptions finalUrls finalMobileUrls trackingUrlTemplate adType adStrength device adNetworkType dayOfWeek descriptiveName currencyCode timeZone approvalStatus reviewStatus deliveryMethod optimizationScore

Properties

Property Type Container
url reference
startDate date
endDate date
image reference
provider reference
sponsor reference
advertiser reference
audience reference
offer reference
campaignBudget reference
targetCpaMicros long
cpcBidMicros long
cpmBidMicros long
amountMicros long
costMicros long
averageCpc long
impressions long
clicks long
viewThroughConversions long
negative boolean
targetGoogleSearch boolean
targetSearchNetwork boolean
targetContentNetwork boolean
enhancedCpcEnabled boolean
date date
manager boolean
testAccount boolean
belongsToCampaign reference
belongsToAdGroup reference
belongsToCustomer reference
hasBudget reference
hasBiddingStrategy reference
hasAdGroup reference
hasAd reference
hasKeyword reference
hasLabel reference

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "gads": "https://developers.google.com/google-ads/api/schema/",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",

    "Campaign": "gads:Campaign",
    "AdGroup": "gads:AdGroup",
    "Ad": "gads:Ad",
    "AdGroupAd": "gads:AdGroupAd",
    "AdGroupCriterion": "gads:AdGroupCriterion",
    "Keyword": "gads:Keyword",
    "CampaignBudget": "gads:CampaignBudget",
    "BiddingStrategy": "gads:BiddingStrategy",
    "ResponsiveSearchAd": "gads:ResponsiveSearchAd",
    "ResponsiveDisplayAd": "gads:ResponsiveDisplayAd",
    "Customer": "gads:Customer",
    "PerformanceReport": "gads:PerformanceReport",
    "ConversionAction": "gads:ConversionAction",
    "GeoTarget": "gads:GeoTarget",
    "AdAsset": "gads:AdAsset",
    "Label": "gads:Label",
    "AdExtension": "gads:AdExtension",
    "Audience": "gads:Audience",
    "RemarketingList": "gads:RemarketingList",

    "name": "schema:name",
    "description": "schema:description",
    "url": {"@id": "schema:url", "@type": "@id"},
    "identifier": "schema:identifier",
    "dateCreated": "schema:dateCreated",
    "dateModified": "schema:dateModified",
    "startDate": {"@id": "schema:startDate", "@type": "xsd:date"},
    "endDate": {"@id": "schema:endDate", "@type": "xsd:date"},
    "status": "schema:creativeWorkStatus",
    "image": {"@id": "schema:image", "@type": "@id"},

    "provider": {"@id": "schema:provider", "@type": "@id"},
    "sponsor": {"@id": "schema:sponsor", "@type": "@id"},
    "advertiser": {"@id": "schema:advertiser", "@type": "@id"},
    "audience": {"@id": "schema:audience", "@type": "@id"},

    "currency": "schema:currency",
    "price": "schema:price",
    "priceCurrency": "schema:priceCurrency",
    "amount": "schema:amount",
    "value": "schema:value",

    "offer": {"@id": "schema:offers", "@type": "@id"},
    "category": "schema:category",
    "keywords": "schema:keywords",
    "position": "schema:position",

    "resourceName": "gads:resourceName",
    "campaignId": "gads:campaignId",
    "adGroupId": "gads:adGroupId",
    "adId": "gads:adId",
    "customerId": "gads:customerId",
    "criterionId": "gads:criterionId",

    "advertisingChannelType": "gads:advertisingChannelType",
    "advertisingChannelSubType": "gads:advertisingChannelSubType",
    "biddingStrategyType": "gads:biddingStrategyType",
    "campaignBudget": {"@id": "gads:campaignBudget", "@type": "@id"},

    "targetCpaMicros": {"@id": "gads:targetCpaMicros", "@type": "xsd:long"},
    "targetRoas": "gads:targetRoas",
    "cpcBidMicros": {"@id": "gads:cpcBidMicros", "@type": "xsd:long"},
    "cpmBidMicros": {"@id": "gads:cpmBidMicros", "@type": "xsd:long"},
    "amountMicros": {"@id": "gads:amountMicros", "@type": "xsd:long"},
    "costMicros": {"@id": "gads:costMicros", "@type": "xsd:long"},
    "averageCpc": {"@id": "gads:averageCpc", "@type": "xsd:long"},

    "impressions": {"@id": "gads:impressions", "@type": "xsd:long"},
    "clicks": {"@id": "gads:clicks", "@type": "xsd:long"},
    "conversions": "gads:conversions",
    "conversionsValue": "gads:conversionsValue",
    "ctr": "gads:ctr",
    "conversionRate": "gads:conversionRate",
    "costPerConversion": "gads:costPerConversion",
    "searchImpressionShare": "gads:searchImpressionShare",
    "viewThroughConversions": {"@id": "gads:viewThroughConversions", "@type": "xsd:long"},
    "interactionRate": "gads:interactionRate",
    "qualityScore": "gads:qualityScore",

    "keywordText": "gads:keywordText",
    "matchType": "gads:matchType",
    "negative": {"@id": "gads:negative", "@type": "xsd:boolean"},

    "headlines": "gads:headlines",
    "descriptions": "gads:descriptions",
    "finalUrls": "gads:finalUrls",
    "finalMobileUrls": "gads:finalMobileUrls",
    "trackingUrlTemplate": "gads:trackingUrlTemplate",
    "adType": "gads:adType",
    "adStrength": "gads:adStrength",

    "targetGoogleSearch": {"@id": "gads:targetGoogleSearch", "@type": "xsd:boolean"},
    "targetSearchNetwork": {"@id": "gads:targetSearchNetwork", "@type": "xsd:boolean"},
    "targetContentNetwork": {"@id": "gads:targetContentNetwork", "@type": "xsd:boolean"},
    "enhancedCpcEnabled": {"@id": "gads:enhancedCpcEnabled", "@type": "xsd:boolean"},

    "device": "gads:device",
    "adNetworkType": "gads:adNetworkType",
    "dayOfWeek": "gads:dayOfWeek",
    "date": {"@id": "gads:date", "@type": "xsd:date"},

    "descriptiveName": "gads:descriptiveName",
    "currencyCode": "gads:currencyCode",
    "timeZone": "gads:timeZone",
    "manager": {"@id": "gads:manager", "@type": "xsd:boolean"},
    "testAccount": {"@id": "gads:testAccount", "@type": "xsd:boolean"},

    "approvalStatus": "gads:approvalStatus",
    "reviewStatus": "gads:reviewStatus",
    "deliveryMethod": "gads:deliveryMethod",
    "optimizationScore": "gads:optimizationScore",

    "belongsToCampaign": {"@id": "gads:belongsToCampaign", "@type": "@id"},
    "belongsToAdGroup": {"@id": "gads:belongsToAdGroup", "@type": "@id"},
    "belongsToCustomer": {"@id": "gads:belongsToCustomer", "@type": "@id"},
    "hasBudget": {"@id": "gads:hasBudget", "@type": "@id"},
    "hasBiddingStrategy": {"@id": "gads:hasBiddingStrategy", "@type": "@id"},
    "hasAdGroup": {"@id": "gads:hasAdGroup", "@type": "@id"},
    "hasAd": {"@id": "gads:hasAd", "@type": "@id"},
    "hasKeyword": {"@id": "gads:hasKeyword", "@type": "@id"},
    "hasLabel": {"@id": "gads:hasLabel", "@type": "@id"}
  }
}