AI-generated Key Takeaways
-
The Country resource provides information about countries that can be targeted by ads.
-
Each Country resource has a unique
dartIdused for targeting and reporting, along with aname,countryCode, andsslEnabledstatus. -
The
kindfield identifies the resource as"dfareporting#country". -
You can retrieve a specific country using the
getmethod or a list of countries using thelistmethod.
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. |