Campaign Manager 360 API . userProfiles

Instance Methods

close()

Close httplib2 connections.

get(profileId, x__xgafv=None)

Gets one user profile by ID.

list(x__xgafv=None)

Retrieves list of user profiles for a user.

Method Details

close()
Close httplib2 connections.
get(profileId, x__xgafv=None)
Gets one user profile by ID.

Args:
  profileId: string, The user profile ID. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A UserProfile resource lets you list all DFA user profiles that are associated with a Google user account. The profile_id needs to be specified in other API requests.
    "subAccountName": "A String", # The sub account name this profile belongs to if applicable.
    "profileId": "A String", # The unique ID of the user profile.
    "accountId": "A String", # The account ID to which this profile belongs.
    "accountName": "A String", # The account name this profile belongs to.
    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userProfile".
    "userName": "A String", # The user name.
    "etag": "A String", # Etag of this resource.
    "subAccountId": "A String", # The sub account ID this profile belongs to if applicable.
  }
list(x__xgafv=None)
Retrieves list of user profiles for a user.

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

Returns:
  An object of the form:

    { # Represents the list of user profiles.
    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userProfileList".
    "items": [ # The user profiles returned in this response.
      { # A UserProfile resource lets you list all DFA user profiles that are associated with a Google user account. The profile_id needs to be specified in other API requests.
        "subAccountName": "A String", # The sub account name this profile belongs to if applicable.
        "profileId": "A String", # The unique ID of the user profile.
        "accountId": "A String", # The account ID to which this profile belongs.
        "accountName": "A String", # The account name this profile belongs to.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userProfile".
        "userName": "A String", # The user name.
        "etag": "A String", # Etag of this resource.
        "subAccountId": "A String", # The sub account ID this profile belongs to if applicable.
      },
    ],
    "etag": "A String", # Etag of this resource.
  }