AccountsAdunitsResource class Null safety

Constructors

AccountsAdunitsResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

delete(String accountId, String adClientId, String adUnitId, {String? $fields}) Future<AdUnit>
Delete the specified ad unit from the specified publisher AdSense account.
get(String accountId, String adClientId, String adUnitId, {String? $fields}) Future<AdUnit>
Get the specified host ad unit in this AdSense account.
getAdCode(String accountId, String adClientId, String adUnitId, {List<String>? hostCustomChannelId, String? $fields}) Future<AdCode>
Get ad code for the specified ad unit, attaching the specified host custom channels.
insert(AdUnit request, String accountId, String adClientId, {String? $fields}) Future<AdUnit>
Insert the supplied ad unit into the specified publisher AdSense account.
list(String accountId, String adClientId, {bool? includeInactive, int? maxResults, String? pageToken, String? $fields}) Future<AdUnits>
List all ad units in the specified publisher's AdSense account.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
patch(AdUnit request, String accountId, String adClientId, String adUnitId, {String? $fields}) Future<AdUnit>
Update the supplied ad unit in the specified publisher AdSense account.
toString() String
A string representation of this object.
inherited
update(AdUnit request, String accountId, String adClientId, {String? $fields}) Future<AdUnit>
Update the supplied ad unit in the specified publisher AdSense account.

Operators

operator ==(Object other) bool
The equality operator.
inherited