firebase::admob::AdRequest

#include <types.h>

The information needed to request an ad.

Summary

Public attributes

birthday_day
int
The day the user was born.
birthday_month
int
The month the user was born.
birthday_year
int
The year the user was born.
extras
const KeyValuePair *
A KeyValuePair specifying additional parameters accepted by an ad network.
extras_count
unsigned int
The number of entries in the array referenced by extras.
gender
The user's Gender.
keyword_count
unsigned int
The number of entries in the array referenced by keywords.
keywords
const char **
An array of keywords or phrases describing the current user activity, such as "Sports Scores" or "Football.".
tagged_for_child_directed_treatment
Specifies whether the request should be considered as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA).
test_device_id_count
unsigned int
The number of entries in the array referenced by test_device_ids.
test_device_ids
const char **
An array of test device IDs specifying devices that test ads will be returned for.

Public attributes

birthday_day

int firebase::admob::AdRequest::birthday_day

The day the user was born.

Specify the user's birthday to increase ad relevancy.

birthday_month

int firebase::admob::AdRequest::birthday_month

The month the user was born.

Specify the user's birthday to increase ad relevancy.

birthday_year

int firebase::admob::AdRequest::birthday_year

The year the user was born.

Specify the user's birthday to increase ad relevancy.

extras

const KeyValuePair * firebase::admob::AdRequest::extras

A KeyValuePair specifying additional parameters accepted by an ad network.

extras_count

unsigned int firebase::admob::AdRequest::extras_count

The number of entries in the array referenced by extras.

gender

Gender firebase::admob::AdRequest::gender

The user's Gender.

Specify the user's gender to increase ad relevancy.

keyword_count

unsigned int firebase::admob::AdRequest::keyword_count

The number of entries in the array referenced by keywords.

keywords

const char ** firebase::admob::AdRequest::keywords

An array of keywords or phrases describing the current user activity, such as "Sports Scores" or "Football.".

tagged_for_child_directed_treatment

ChildDirectedTreatmentState firebase::admob::AdRequest::tagged_for_child_directed_treatment

Specifies whether the request should be considered as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA).

test_device_id_count

unsigned int firebase::admob::AdRequest::test_device_id_count

The number of entries in the array referenced by test_device_ids.

test_device_ids

const char ** firebase::admob::AdRequest::test_device_ids

An array of test device IDs specifying devices that test ads will be returned for.

Send feedback about...

Need help? Visit our support page.