Close httplib2 connections.
get(profileId, id, x__xgafv=None)
Gets one size by ID.
insert(profileId, body=None, x__xgafv=None)
Inserts a new size.
list(profileId, height=None, iabStandard=None, ids=None, width=None, x__xgafv=None)
Retrieves a list of sizes, possibly filtered. Retrieved sizes are globally unique and may include values not currently in use by your account. Due to this, the list of sizes returned by this method may differ from the list seen in the Trafficking UI.
close()
Close httplib2 connections.
get(profileId, id, x__xgafv=None)
Gets one size by ID. Args: profileId: string, User profile ID associated with this request. (required) id: string, Size ID. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }
insert(profileId, body=None, x__xgafv=None)
Inserts a new size. Args: profileId: string, User profile ID associated with this request. (required) body: object, The request body. The object takes the form of: { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }
list(profileId, height=None, iabStandard=None, ids=None, width=None, x__xgafv=None)
Retrieves a list of sizes, possibly filtered. Retrieved sizes are globally unique and may include values not currently in use by your account. Due to this, the list of sizes returned by this method may differ from the list seen in the Trafficking UI. Args: profileId: string, User profile ID associated with this request. (required) height: integer, Select only sizes with this height. iabStandard: boolean, Select only IAB standard sizes. ids: string, Select only sizes with these IDs. (repeated) width: integer, Select only sizes with this width. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Size List Response "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#sizesListResponse". "sizes": [ # Size collection. { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, ], }