The new Search Ads 360 Reporting API is now available. Join the searchads-api-announcements Google group to stay up to date on upcoming enhancements and releases.
Stay organized with collections
Save and categorize content based on your preferences.
Name hierarchy
Resource names used in the Search Ads 360 Reporting API are hierarchical, mirroring the
organization of entities within Search Ads 360. Almost all resources are sub-resources
of the Customer
resource, which reflects the fact that almost every API call has to target a
specific Search Ads 360 account. For example, campaigns, ad groups, ads, and keywords
are all sub-resources of a root customer resource.
Search Ads 360 Reporting API entities (customers, campaigns, etc.) are referred to by their resource
names throughout the API. However, it's important to note that the resource
names themselves may have unique numerical resource
IDs that identify
each object in the hierarchy. In these cases, it may be useful to parse the
resource name to extract these resource IDs and assemble a new one.
For example, examine the AdGroupAd resource name from the previous table:
This can be broken down into its individual resource IDs (separated by
collection IDs)
as follows:
Resource name components
Resource IDs
customer ID:
"1234567890"
ad group ID:
"54321098765"
ad group ad ID:
"2109876543210"
Collection IDs
"customers"
"adGroupAds"
Parsing the individual IDs lets you derive new resource names to reference
the ad group ad's customer (customers/1234567890) or its ad group
(customers/1234567890/adGroupAds/54321098765).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[[["Search Ads 360 Reporting API resource names are hierarchical, starting with the customer and followed by sub-resources like campaigns, ad groups, and ads."],["Resource names use relative paths and contain numerical resource IDs for each entity in the hierarchy."],["You can parse resource names to extract individual resource IDs and construct new resource names for related entities."],["In JSON request and response bodies, resource names are identified by the `resourceName` field, not the `name` field."]]],[]]