MixRank

class mixrank.MixRank(api_key)

Create a MixRank service.

Variables:api_key (str) – The MixRank API key.

Advertiser

MixRank.advertiser(advertiser)

Return the resource corresponding to an advertiser.

Variables:advertiser (str) – The advertiser’s domain name. Use the root domain name; in particular, do not prefix with “www.” or any other subdomain.

DisplayAd

Advertiser.displayad(hash)

Return a resource corresponding to a single display ad.

Variables:hash (str) – A unique hash identifying this ad.
DisplayAd.destinations(offset=None, page_size=None, min_times_seen=None, max_times_seen=None, first_seen_before=None, first_seen_after=None, last_seen_before=None, last_seen_after=None, sort_field=None, sort_order=None)

Fetch the Google Display Network destinations for this ad.

Upstream documentation: http://mixrank.com/api/documentation#displayad_destinations

DisplayAd.publishers(offset=None, page_size=None, min_times_seen=None, max_times_seen=None, first_seen_before=None, first_seen_after=None, last_seen_before=None, last_seen_after=None, sort_field=None, sort_order=None)

Fetch the Google Display Network publishers for this ad.

Upstream documentation: http://mixrank.com/api/documentation#displayad_publishers

TextAd

Advertiser.textad(hash)

Return a resource corresponding to a single text ad.

Variables:hash (str) – A unique hash identifying this ad.
TextAd.destinations(offset=None, page_size=None, min_avg_position=None, max_avg_position=None, min_times_seen=None, max_times_seen=None, first_seen_before=None, first_seen_after=None, last_seen_before=None, last_seen_after=None, sort_field=None, sort_order=None)

Fetch the Google Display Network destinations for this ad.

Upstream documentation: http://mixrank.com/api/documentation#textad_destinations

TextAd.publishers(offset=None, page_size=None, min_times_seen=None, max_times_seen=None, first_seen_before=None, first_seen_after=None, last_seen_before=None, last_seen_after=None, sort_field=None, sort_order=None)

Fetch the Google Display Network publishers for this ad.

Upstream documentation: http://mixrank.com/api/documentation#textad_publishers

Advertiser.displayads(offset=None, page_size=None, min_times_seen=None, max_times_seen=None, first_seen_before=None, first_seen_after=None, last_seen_before=None, last_seen_after=None, sort_field=None, sort_order=None)

Fetch the Google Display Network display ads for this advertiser.

Upstream documentation: http://mixrank.com/api/documentation#advertiser_displayads

Advertiser.keywords(offset=None, page_size=None, min_times_seen=None, max_times_seen=None, first_seen_before=None, first_seen_after=None, last_seen_before=None, last_seen_after=None, sort_field=None, sort_order=None)

Fetch the Google Display Network keywords for this advertiser.

Upstream documentation: http://mixrank.com/api/documentation#advertiser_keywords

Advertiser.publishers(offset=None, page_size=None, min_times_seen=None, max_times_seen=None, min_monthly_uniques=None, max_monthly_uniques=None, last_seen_before=None, last_seen_after=None, sort_field=None, sort_order=None)

Fetch the Google Display Network publishers for this advertiser.

Upstream documentation: http://mixrank.com/api/documentation#advertiser_publishers

Advertiser.summary()

Fetch the advertiser’s summary.

Upstream documentation: http://mixrank.com/api/documentation#advertiser

Advertiser.textads(offset=None, page_size=None, min_avg_position=None, max_avg_position=None, min_times_seen=None, max_times_seen=None, first_seen_before=None, first_seen_after=None, last_seen_before=None, last_seen_after=None, sort_field=None, sort_order=None)

Fetch the Google Display Network text ads for this advertiser.

Upstream documentation: http://mixrank.com/api/documentation#advertiser_textads

Keyword

MixRank.keyword(keyword)

Return the resource corresponding to a keyword.

Variables:keyword (str) – The keyword, can contain spaces.
Keyword.advertisers(offset=None, page_size=None, min_times_seen=None, max_times_seen=None, first_seen_before=None, first_seen_after=None, last_seen_before=None, last_seen_after=None, sort_field=None, sort_order=None)

Fetch the advertisers that show ads for this keyword.

Upstream documentation: http://mixrank.com/api/documentation#keyword_advertisers

Keyword.displayads(offset=None, page_size=None, min_times_seen=None, max_times_seen=None, first_seen_before=None, first_seen_after=None, last_seen_before=None, last_seen_after=None, sort_field=None, sort_order=None)

Fetch the Google Display Network display ads targeting at this keyword.

Upstream documentation: http://mixrank.com/api/documentation#keyword_displayads

Keyword.summary()

Fetch the keyword summary.

Upstream documentation: http://mixrank.com/api/documentation#keyword

Keyword.textads(offset=None, page_size=None, min_avg_position=None, max_avg_position=None, min_times_seen=None, max_times_seen=None, first_seen_before=None, first_seen_after=None, last_seen_before=None, last_seen_after=None, sort_field=None, sort_order=None)

Fetch the Google Display Network text ads targeting this keyword.

Upstream documentation: http://mixrank.com/api/documentation#keyword_textads

Publisher

MixRank.publisher(publisher)

Return the resource corresponding to a publisher.

Variables:publisher (str) – The pubisher’s domain name. Use the root domain name; in particular, do not prefix with “www.” or any other subdomain.
Publisher.advertisers(offset=None, page_size=None, min_times_seen=None, max_times_seen=None, first_seen_before=None, first_seen_after=None, last_seen_before=None, last_seen_after=None, sort_field=None, sort_order=None)

Fetch the advertisers that run ads on this publisher.

Upstream documentation: http://mixrank.com/api/documentation#publisher_advertisers

Publisher.displayads(offset=None, page_size=None, min_times_seen=None, max_times_seen=None, first_seen_before=None, first_seen_after=None, last_seen_before=None, last_seen_after=None, sort_field=None, sort_order=None)

Fetch the Google Display Network display ads for this publisher.

Upstream documentation: http://mixrank.com/api/documentation#publisher_displayads

Publisher.summary()

Fetch the publisher’s summary.

Upstream documentation: http://mixrank.com/api/documentation#publisher

Publisher.textads(offset=None, page_size=None, min_avg_position=None, max_avg_position=None, min_times_seen=None, max_times_seen=None, first_seen_before=None, first_seen_after=None, last_seen_before=None, last_seen_after=None, sort_field=None, sort_order=None)

Fetch the Google Display Network text ads for this publisher.

Upstream documentation: http://mixrank.com/api/documentation#advertiser_textads

Service methods

MixRank.echo()

Verify that the API key is valid.