User Targeting

The Verizon Ads SDK provides methods for the publisher to set specific information about the app user in order to provide ads that are better targeted to that user. Accessors have been provided that allow the setting of gender, age, ethnicity, etc. Values left unspecified are left out of the targeting data.

User Targeting information should be established after initialization and prior to making and ad requests. This may be changed at any time.

RequestMetadata.Builder builder = new RequestMetadata.Builder();

builder.setUserAge(<USER AGE>);
builder.setUserIncome(<USER INCOME>);
builder.setUserEducation( <USER EDUCATION>);

RequestMetadata requestMetadata = builder.build();
Please see the API documentation for other user targeting parameters and specifics.
val builder = RequestMetadata.Builder()

builder.setUserAge(<USER AGE>)
builder.setUserIncome(<USER INCOME>)
builder.setUserEducation( <USER EDUCATION>)

val requestMetadata = builder.build()
Please see the API documentation for other user targeting parameters and specifics.
VASRequestMetadataBuilder *builder = [[VASRequestMetadataBuilder alloc] initWithRequestMetadata:[VASAds sharedInstance].requestMetadata];

builder.userAge = <USER AGE>;
builder.userIncome = <USER INCOME>;
builder.userEducation = <USER EDUCATION>;

[VASAds sharedInstance].requestMetadata = [builder build];
Please see the API documentation for other user targeting parameters and specifics.
let builder = VASAdsRequestMetadataBuilder(withRequestMetadata:self.metadata)

builder.userAge = <USER AGE>
builder.userIncome = <USER INCOME>
builder.userEducation = <USER EDUCATION>

let metadata = builder.build()
Please see the API documentation for other user targeting parameters and specifics.