Answer the question
In order to leave comments, you need to log in
Where can I get the APP STORE URL?
Where can I get the APP STORE URL?
I tested the examples in the documentation, they gave the following code:
from facebookads.objects import AdSet
data = {
AdSet.Field.name: 'My AdSet',
AdSet.Field.bid_type: AdSet.BidType.cpc,
AdSet.Field.bid_info: {
'CLICKS': 500,
},
AdSet.Field.status: AdSet.Status.active,
AdSet.Field.daily_budget: 2000,
AdSet.Field.campaign_group_id: <AD_CAMPAIGN_ID>,
AdSet.Field.promoted_object: {
'application_id': <APP_ID>,
'object_store_url': <APP_STORE_URL>,
},
AdSet.Field.targeting: {
'geo_locations': {
'countries': ['US','GB'],
},
},
}
adset = AdSet(parent_id='act_<AD_ACCOUNT_ID>')
adset.remote_create(params=data)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question