Close httplib2 connections.
insert(profileId, campaignId, body=None, x__xgafv=None)
Associates a creative with the specified campaign. This method creates a default ad with dimensions matching the creative in the campaign if such a default ad does not exist already.
list(profileId, campaignId, maxResults=None, pageToken=None, sortOrder=None, x__xgafv=None)
Retrieves the list of creative IDs associated with the specified campaign. This method supports paging.
Retrieves the next page of results.
close()
Close httplib2 connections.
insert(profileId, campaignId, body=None, x__xgafv=None)
Associates a creative with the specified campaign. This method creates a default ad with dimensions matching the creative in the campaign if such a default ad does not exist already. Args: profileId: string, User profile ID associated with this request. (required) campaignId: string, Campaign ID in this association. (required) body: object, The request body. The object takes the form of: { # Identifies a creative which has been associated with a given campaign. "creativeId": "A String", # ID of the creative associated with the campaign. This is a required field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaignCreativeAssociation". } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Identifies a creative which has been associated with a given campaign. "creativeId": "A String", # ID of the creative associated with the campaign. This is a required field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaignCreativeAssociation". }
list(profileId, campaignId, maxResults=None, pageToken=None, sortOrder=None, x__xgafv=None)
Retrieves the list of creative IDs associated with the specified campaign. This method supports paging. Args: profileId: string, User profile ID associated with this request. (required) campaignId: string, Campaign ID in this association. (required) maxResults: integer, Maximum number of results to return. pageToken: string, Value of the nextPageToken from the previous result page. sortOrder: string, Order of sorted results. Allowed values ASCENDING - Ascending order. DESCENDING - Descending order. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Campaign Creative Association List Response "campaignCreativeAssociations": [ # Campaign creative association collection { # Identifies a creative which has been associated with a given campaign. "creativeId": "A String", # ID of the creative associated with the campaign. This is a required field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaignCreativeAssociation". }, ], "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaignCreativeAssociationsListResponse". "nextPageToken": "A String", # Pagination token to be used for the next list operation. }
list_next()
Retrieves the next page of results. Args: previous_request: The request for the previous page. (required) previous_response: The response from the request for the previous page. (required) Returns: A request object that you can call 'execute()' on to request the next page. Returns None if there are no more items in the collection.