AI-generated Key Takeaways
-
The Country resource provides information about countries targetable by ads, including their ID, name, country code, SSL support, and resource type.
-
This resource can be accessed using methods to retrieve a specific country by its ID or a list of all available countries.
-
A country is identified by a unique DART ID and provides essential details like name, country code, and whether it supports secure ad serving.
Resource: Country
Contains information about a country that can be targeted by ads.
JSON representation |
---|
{ "dartId": string, "name": string, "countryCode": string, "sslEnabled": boolean, "kind": string } |
Fields | |
---|---|
dartId |
DART ID of this country. This is the ID used for targeting and generating reports. |
name |
Name of this country. |
countryCode |
Country code. |
sslEnabled |
Whether ad serving supports secure servers in this country. |
kind |
Identifies what kind of resource this is. Value: the fixed string
. |
Methods |
|
---|---|
|
Gets one country by ID. |
|
Retrieves a list of countries. |