# Meta Bidding

Meta Bidding is enabled by default, If you are customizing your podfile, you can add Meta Bidding dependency by adding the following to your podfile:

Copy

```
pod 'AATKit/AATMetaBiddingAdapter'
```

{% hint style="info" %}
`AATMetaBiddingAdapter` depends on `GraviteRTB` SDK
{% endhint %}



### Set up Meta Bidding

Pass Meta identifier using AATKitAdNetworkOptions when initializing AATKit. See the example below:

{% hint style="info" %}
Please contact your Account Manager to get the `Meta_Platform_ID` .
{% endhint %}

{% tabs fullWidth="false" %}
{% tab title="Swift" %}
let conf = AATConfiguration()\
...\
let metaOptions = AATMetaBiddingOptions(platformId: "\<Meta\_Platform\_ID>")\
conf.adNetworksOptions = AATAdNetworksOptions(metaBiddingOptions: metaOptions)\
...\
AATSDK.initAATKit(with: conf)
{% endtab %}

{% tab title="Objective-C" %}
AATConfiguration \*conf = \[\[AATConfiguration alloc] init];

...

&#x20;   AATMetaBiddingOptions\* metaOptions = \[\[AATMetaBiddingOptions alloc] initWithPlatformId:@" \<Meta\_Platform\_ID>"];

&#x20;  AATAdNetworksOptions \*options = \[\[AATAdNetworksOptions alloc] initWithAppNexusOptions: nil                             \
&#x20;                                                                            feedAdOptions:nil\
&#x20;                                                                            adMobOptions: nil\
&#x20;                                                                              dfpOptions:nil\
&#x20;                                                                     superAwesomeOptions:nil\
&#x20;                                                                       graviteRTBOptions:nil\
&#x20;                                                                        displayIOOptions:nil\
&#x20;                                                                      metaBiddingOptions:metaOptions

&#x20;   ];\
&#x20;   ...\
\[AATSDK initAATKitWith:conf];
{% endtab %}
{% endtabs %}

