Skip to contents

Paginated query to the ad library API

Usage

adlib_get_paginated(query, max_gets = 100, token = token_get())

Arguments

query

an Ad Library query

max_gets

The maximum number of calls to adlib_get that this will generate

token

an access_token

Value

a paginated_adlib_data_response object. The response has the following attributes.

  • responses - The list of individual responses

  • has_next - A boolean value indicating whether there are still pages

  • next_page - The URL to call the next page of responses