{ "opencollection": "1.0.0", "info": { "name": "Google Campaign Manager Campaign Manager 360 Ads Placements API", "version": "v4" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.google.com/o/oauth2/v2/auth", "accessTokenUrl": "https://oauth2.googleapis.com/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Placements", "type": "folder" }, "items": [ { "info": { "name": "Google Campaign Manager List Placements", "type": "http" }, "http": { "method": "GET", "url": "https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/:profileId/placements", "params": [ { "name": "profileId", "value": "123456", "type": "path", "description": "The Campaign Manager 360 user profile ID. Each user has a profile for each account they have access to." }, { "name": "campaignIds", "value": "", "type": "query", "description": "Select only placements belonging to these campaigns." }, { "name": "advertiserIds", "value": "", "type": "query", "description": "Select only placements belonging to these advertisers." }, { "name": "ids", "value": "", "type": "query", "description": "Select only placements with these IDs." }, { "name": "siteIds", "value": "", "type": "query", "description": "Select only placements associated with these sites." }, { "name": "groupIds", "value": "", "type": "query", "description": "Select only placements belonging to these placement groups." }, { "name": "compatibilities", "value": "", "type": "query", "description": "Select only placements with these compatibilities." }, { "name": "searchString", "value": "", "type": "query", "description": "Search string for filtering results." }, { "name": "sortField", "value": "", "type": "query" }, { "name": "sortOrder", "value": "", "type": "query" }, { "name": "maxResults", "value": "", "type": "query", "description": "Maximum number of results to return. Default is 1000." }, { "name": "pageToken", "value": "", "type": "query", "description": "Value of the nextPageToken from the previous result page." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.google.com/o/oauth2/v2/auth", "accessTokenUrl": "https://oauth2.googleapis.com/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Retrieves a list of placements, possibly filtered. Results are returned in descending order by last modified time." }, { "info": { "name": "Google Campaign Manager Create a Placement", "type": "http" }, "http": { "method": "POST", "url": "https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/:profileId/placements", "params": [ { "name": "profileId", "value": "123456", "type": "path", "description": "The Campaign Manager 360 user profile ID. Each user has a profile for each account they have access to." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Inserts a new placement. The placement is associated with a campaign, site, and directory site, and defines the ad inventory configuration for a specific location on a publisher site." }, { "info": { "name": "Google Campaign Manager Get a Placement", "type": "http" }, "http": { "method": "GET", "url": "https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/:profileId/placements/:placementId", "params": [ { "name": "profileId", "value": "123456", "type": "path", "description": "The Campaign Manager 360 user profile ID. Each user has a profile for each account they have access to." }, { "name": "placementId", "value": "11223344", "type": "path", "description": "Placement ID." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.google.com/o/oauth2/v2/auth", "accessTokenUrl": "https://oauth2.googleapis.com/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Gets one placement by ID." }, { "info": { "name": "Google Campaign Manager Update a Placement", "type": "http" }, "http": { "method": "PUT", "url": "https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/:profileId/placements/:placementId", "params": [ { "name": "profileId", "value": "123456", "type": "path", "description": "The Campaign Manager 360 user profile ID. Each user has a profile for each account they have access to." }, { "name": "placementId", "value": "11223344", "type": "path", "description": "Placement ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an existing placement." }, { "info": { "name": "Google Campaign Manager Patch a Placement", "type": "http" }, "http": { "method": "PATCH", "url": "https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/:profileId/placements/:placementId", "params": [ { "name": "profileId", "value": "123456", "type": "path", "description": "The Campaign Manager 360 user profile ID. Each user has a profile for each account they have access to." }, { "name": "placementId", "value": "11223344", "type": "path", "description": "Placement ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an existing placement. This method supports patch semantics." }, { "info": { "name": "Google Campaign Manager Generate Placement Tags", "type": "http" }, "http": { "method": "POST", "url": "https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/:profileId/placements/generatetags", "params": [ { "name": "profileId", "value": "123456", "type": "path", "description": "The Campaign Manager 360 user profile ID. Each user has a profile for each account they have access to." }, { "name": "placementIds", "value": "", "type": "query", "description": "Generate tags for these placements." }, { "name": "tagFormats", "value": "", "type": "query", "description": "Tag formats to generate." }, { "name": "campaignId", "value": "", "type": "query", "description": "Generate placements belonging to this campaign." } ] }, "docs": "Generates tags for one or more placements. Tags are the code snippets that publishers place on their sites to enable ad serving for the associated placements." } ] } ], "bundled": true }