Skip to main content

placement_groups

Overview

Nameplacement_groups
TypeResource
Idgoogleads.dfareporting.placement_groups

Fields

NameDatatypeDescription
idstringID of this placement group. This is a read-only, auto-generated field.
namestringName of this placement group. This is a required field and must be less than 256 characters long.
pricingScheduleobjectPricing Schedule
idDimensionValueobjectRepresents a DimensionValue resource.
directorySiteIdstringDirectory site ID associated with this placement group. On insert, you must set either this field or the site_id field to specify the site associated with this placement group. This is a required field that is read-only after insertion.
externalIdstringExternal ID for this placement.
kindstringIdentifies what kind of resource this is. Value: the fixed string "dfareporting#placementGroup".
campaignIdstringCampaign ID of this placement group. This field is required on insertion.
primaryPlacementIdstringID of the primary placement, used to calculate the media cost of a roadblock (placement group). Modifying this field will automatically modify the primary field on all affected roadblock child placements.
createInfoobjectModification timestamp.
siteIdstringSite ID associated with this placement group. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement group. This is a required field that is read-only after insertion.
placementGroupTypestringType of this placement group. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting. This field is required on insertion.
directorySiteIdDimensionValueobjectRepresents a DimensionValue resource.
lastModifiedInfoobjectModification timestamp.
childPlacementIdsarrayIDs of placements which are assigned to this placement group. This is a read-only, auto-generated field.
commentstringComments for this placement group.
campaignIdDimensionValueobjectRepresents a DimensionValue resource.
advertiserIdstringAdvertiser ID of this placement group. This is a required field on insertion.
accountIdstringAccount ID of this placement group. This is a read-only field that can be left blank.
siteIdDimensionValueobjectRepresents a DimensionValue resource.
contentCategoryIdstringID of the content category assigned to this placement group.
activeStatusstringWhether this placement group is active, inactive, archived or permanently archived.
placementStrategyIdstringID of the placement strategy assigned to this placement group.
subaccountIdstringSubaccount ID of this placement group. This is a read-only field that can be left blank.
advertiserIdDimensionValueobjectRepresents a DimensionValue resource.
primaryPlacementIdDimensionValueobjectRepresents a DimensionValue resource.

Methods

NameAccessible byRequired ParamsDescription
placementGroups_getSELECTid, profileIdGets one placement group by ID.
placementGroups_listSELECTprofileIdRetrieves a list of placement groups, possibly filtered. This method supports paging.
placementGroups_insertEXECprofileIdInserts a new placement group.
placementGroups_patchEXECid, profileIdUpdates an existing placement group. This method supports patch semantics.
placementGroups_updateEXECprofileIdUpdates an existing placement group.