Campaign Manager 360 API . studioCreatives

Instance Methods

close()

Close httplib2 connections.

get(studioCreativeId, x__xgafv=None)

Gets a studio creative by ID.

insert(body=None, x__xgafv=None)

Inserts a new studio creative.

publish(studioCreativeId, x__xgafv=None)

Publish for a studio creative.

Method Details

close()
Close httplib2 connections.
get(studioCreativeId, x__xgafv=None)
Gets a studio creative by ID.

Args:
  studioCreativeId: string, Required. Studio creative ID. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Contains studio creative information.
  "assetIds": [ # List of assets associated with this studio creative. It is a required field on insertion.
    "A String",
  ],
  "backupImageAssetId": "A String", # Backup image asset ID of this studio creative.
  "createdInfo": { # Modification timestamp. # The timestamp when the studio creative was created. This is a read-only, auto-generated field.
    "time": "A String", # Timestamp of the last change in milliseconds since epoch.
  },
  "dimension": { # Dimension information for a studio creative. # Dimension of this studio creative. This is a required field on insertion if format is BANNER or EXPANDING.
    "height": 42, # Height of the studio creative.
    "width": 42, # Width of the studio creative.
  },
  "dynamicProfileId": "A String", # Dynamic profile ID of this studio creative.
  "format": "A String", # Format of this studio creative. This is a required field on insertion.
  "id": "A String", # Output only. Unique ID of this studio creative. This is a read-only, auto-generated field.
  "lastModifiedInfo": { # Modification timestamp. # The timestamp when the studio creative was last modified. This is a read-only, auto-generated field.
    "time": "A String", # Timestamp of the last change in milliseconds since epoch.
  },
  "name": "A String", # Identifier. Name of this studio creative. This is a required field on insertion.
  "status": "A String", # Output only. Status of this studio creative. It is a read-only field.
  "studioAccountId": "A String", # Studio account ID of this creative. This field, if left unset, will be auto-populated.
  "studioAdvertiserId": "A String", # Studio advertiser ID of this studio creative. This is a required field on insertion.
  "studioCampaignId": "A String", # Studio campaign ID of this studio creative. This is a required field on insertion.
}
insert(body=None, x__xgafv=None)
Inserts a new studio creative.

Args:
  body: object, The request body.
    The object takes the form of:

{ # Contains studio creative information.
  "assetIds": [ # List of assets associated with this studio creative. It is a required field on insertion.
    "A String",
  ],
  "backupImageAssetId": "A String", # Backup image asset ID of this studio creative.
  "createdInfo": { # Modification timestamp. # The timestamp when the studio creative was created. This is a read-only, auto-generated field.
    "time": "A String", # Timestamp of the last change in milliseconds since epoch.
  },
  "dimension": { # Dimension information for a studio creative. # Dimension of this studio creative. This is a required field on insertion if format is BANNER or EXPANDING.
    "height": 42, # Height of the studio creative.
    "width": 42, # Width of the studio creative.
  },
  "dynamicProfileId": "A String", # Dynamic profile ID of this studio creative.
  "format": "A String", # Format of this studio creative. This is a required field on insertion.
  "id": "A String", # Output only. Unique ID of this studio creative. This is a read-only, auto-generated field.
  "lastModifiedInfo": { # Modification timestamp. # The timestamp when the studio creative was last modified. This is a read-only, auto-generated field.
    "time": "A String", # Timestamp of the last change in milliseconds since epoch.
  },
  "name": "A String", # Identifier. Name of this studio creative. This is a required field on insertion.
  "status": "A String", # Output only. Status of this studio creative. It is a read-only field.
  "studioAccountId": "A String", # Studio account ID of this creative. This field, if left unset, will be auto-populated.
  "studioAdvertiserId": "A String", # Studio advertiser ID of this studio creative. This is a required field on insertion.
  "studioCampaignId": "A String", # Studio campaign ID of this studio creative. This is a required field on insertion.
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Contains studio creative information.
  "assetIds": [ # List of assets associated with this studio creative. It is a required field on insertion.
    "A String",
  ],
  "backupImageAssetId": "A String", # Backup image asset ID of this studio creative.
  "createdInfo": { # Modification timestamp. # The timestamp when the studio creative was created. This is a read-only, auto-generated field.
    "time": "A String", # Timestamp of the last change in milliseconds since epoch.
  },
  "dimension": { # Dimension information for a studio creative. # Dimension of this studio creative. This is a required field on insertion if format is BANNER or EXPANDING.
    "height": 42, # Height of the studio creative.
    "width": 42, # Width of the studio creative.
  },
  "dynamicProfileId": "A String", # Dynamic profile ID of this studio creative.
  "format": "A String", # Format of this studio creative. This is a required field on insertion.
  "id": "A String", # Output only. Unique ID of this studio creative. This is a read-only, auto-generated field.
  "lastModifiedInfo": { # Modification timestamp. # The timestamp when the studio creative was last modified. This is a read-only, auto-generated field.
    "time": "A String", # Timestamp of the last change in milliseconds since epoch.
  },
  "name": "A String", # Identifier. Name of this studio creative. This is a required field on insertion.
  "status": "A String", # Output only. Status of this studio creative. It is a read-only field.
  "studioAccountId": "A String", # Studio account ID of this creative. This field, if left unset, will be auto-populated.
  "studioAdvertiserId": "A String", # Studio advertiser ID of this studio creative. This is a required field on insertion.
  "studioCampaignId": "A String", # Studio campaign ID of this studio creative. This is a required field on insertion.
}
publish(studioCreativeId, x__xgafv=None)
Publish for a studio creative.

Args:
  studioCreativeId: string, Required. Studio creative ID. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format