Ad Exchange Buyer API . pubprofiles

Instance Methods

close()

Close httplib2 connections.

list(accountId)

Gets the requested publisher profile(s) by publisher accountId.

Method Details

close()
Close httplib2 connections.
list(accountId)
Gets the requested publisher profile(s) by publisher accountId.

Args:
  accountId: integer, The accountId of the publisher to get profiles for. (required)

Returns:
  An object of the form:

    {
  "profiles": [ # Profiles for the requested publisher
    {
      "audience": "A String", # Publisher provided info on its audience.
      "buyerPitchStatement": "A String", # A pitch statement for the buyer
      "directContact": "A String", # Direct contact for the publisher profile.
      "exchange": "A String", # Exchange where this publisher profile is from. E.g. AdX, Rubicon etc...
      "forecastInventory": "A String",
      "googlePlusLink": "A String", # Link to publisher's Google+ page.
      "isParent": True or False, # True, if this is the parent profile, which represents all domains owned by the publisher.
      "isPublished": True or False, # True, if this profile is published. Deprecated for state.
      "kind": "adexchangebuyer#publisherProfileApiProto", # Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#publisherProfileApiProto".
      "logoUrl": "A String", # The url to the logo for the publisher.
      "mediaKitLink": "A String", # The url for additional marketing and sales materials.
      "name": "A String",
      "overview": "A String", # Publisher provided overview.
      "profileId": 42, # The pair of (seller.account_id, profile_id) uniquely identifies a publisher profile for a given publisher.
      "programmaticContact": "A String", # Programmatic contact for the publisher profile.
      "publisherAppIds": [ # The list of app IDs represented in this publisher profile. Empty if this is a parent profile. Deprecated in favor of publisher_app.
        "A String",
      ],
      "publisherApps": [ # The list of apps represented in this publisher profile. Empty if this is a parent profile.
        {
          "appStore": "A String",
          "externalAppId": "A String",
        },
      ],
      "publisherDomains": [ # The list of domains represented in this publisher profile. Empty if this is a parent profile.
        "A String",
      ],
      "publisherProfileId": "A String", # Unique Id for publisher profile.
      "publisherProvidedForecast": { # This message carries publisher provided forecasting information. # Publisher provided forecasting information.
        "dimensions": [ # Publisher provided dimensions. E.g. geo, sizes etc...
          { # This message carries publisher provided breakdown. E.g. {dimension_type: 'COUNTRY', [{dimension_value: {id: 1, name: 'US'}}, {dimension_value: {id: 2, name: 'UK'}}]}
            "dimensionType": "A String",
            "dimensionValues": [
              { # Value of the dimension.
                "id": 42, # Id of the dimension.
                "name": "A String", # Name of the dimension mainly for debugging purposes, except for the case of CREATIVE_SIZE. For CREATIVE_SIZE, strings are used instead of ids.
                "percentage": 42, # Percent of total impressions for a dimension type. e.g. {dimension_type: 'GENDER', [{dimension_value: {id: 1, name: 'MALE', percentage: 60}}]} Gender MALE is 60% of all impressions which have gender.
              },
            ],
          },
        ],
        "weeklyImpressions": "A String", # Publisher provided weekly impressions.
        "weeklyUniques": "A String", # Publisher provided weekly uniques.
      },
      "rateCardInfoLink": "A String", # Link to publisher rate card
      "samplePageLink": "A String", # Link for a sample content page.
      "seller": { # Seller of the publisher profile.
        "accountId": "A String", # The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the product.
        "subAccountId": "A String", # Optional sub-account id for the seller.
      },
      "state": "A String", # State of the publisher profile.
      "topHeadlines": [ # Publisher provided key metrics and rankings.
        "A String",
      ],
    },
  ],
}