Marketing API Version

Ad Contract

Reading

Ad Contract

Examples

Graph API Explorer
GET v2.10/...?fields={fieldname_of_type_AdContract} HTTP/1.1
Host: graph.facebook.com
/* PHP SDK v5.0.0 */
/* make the API call */
$request = new FacebookRequest(
  $session,
  'GET',
  '...?fields={fieldname_of_type_AdContract}'
);
$response = $request->execute();
$graphObject = $response->getGraphObject();
/* handle the result */
/* make the API call */
FB.api(
    "...?fields={fieldname_of_type_AdContract}",
    function (response) {
      if (response && !response.error) {
        /* handle the result */
      }
    }
);
/* make the API call */
new GraphRequest(
    AccessToken.getCurrentAccessToken(),
    "...?fields={fieldname_of_type_AdContract}",
    null,
    HttpMethod.GET,
    new GraphRequest.Callback() {
        public void onCompleted(GraphResponse response) {
            /* handle the result */
        }
    }
).executeAsync();
// For more complex open graph stories, use `FBSDKShareAPI`
// with `FBSDKShareOpenGraphContent`
/* make the API call */
FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]
                               initWithGraphPath:@"...?fields={fieldname_of_type_AdContract}"
                                      parameters:params
                                      HTTPMethod:@"GET"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,
                                      id result,
                                      NSError *error) {
    // Handle the result
}];
If you want to learn how to use the Graph API, read our Using Graph API guide.

Parameters

This endpoint doesn't have any parameters.

Fields

FieldDescription

account_id

id

Account ID

account_mgr_fbid

id

FB ID of the Account Manager

account_mgr_name

string

Account Manager Name

adops_person_name

string

Ad Ops Person Name

advertiser_address_fbid

numeric string

FBID of Advertiser address

advertiser_fbid

numeric string

FBID of Advertiser Organization

advertiser_name

string

Advertiser Name

agency_discount

float

Ad Agency Discount

agency_name

string

Ad Agency Name

bill_to_address_fbid

numeric string

FBID of billed Organization address

bill_to_fbid

numeric string

FBID to Organization billed

campaign_name

string

Campaign Name

created_by

string

Created By

created_date

unsigned int32

Created Date

customer_io

string

Customer IO Number

io_number

unsigned int32

Insertion Order Number

io_terms

string

IO Terms

io_type

string

Insertion Order Type, which is used to identify type of product associated with this IO. Currently, possible values are UNSPECIFIED (0) and RF (1).

last_updated_by

string

Last Updated By

last_updated_date

unsigned int32

Last Updated Date

max_end_date

unsigned int32

Max End Date

mdc_fbid

id

FB ID of MDC

media_plan_number

string

Media Plan Number

min_start_date

unsigned int32

Min Start Date

msa_contract

string

MSA Contract Number

payment_terms

string

Payment Terms

rev_hold_flag

bool

Rev Hold Flag

rev_hold_released_by

integer

User id to release the rev hold

rev_hold_released_on

unsigned int32

Date to release the rev hold

salesrep_fbid

id

FB ID of the Sales Rep

salesrep_name

string

Sales Rep Name

sold_to_address_fbid

numeric string

FBID of sold to Organization address

sold_to_fbid

numeric string

FBID of Organization sold to

status

string

Status

subvertical

string

Sub-Vertical

thirdparty_billed

unsigned int32

Third Party Billed

thirdparty_password

string

Third Party Password

thirdparty_uid

string

Third Party uid

thirdparty_url

string

Third Party URL

vat_country

string

VAT Country

version

unsigned int32

Version

vertical

string

Vertical

Edges

No edges

Creating

You can't perform this operation on this endpoint.

Updating

You can't perform this operation on this endpoint.

Deleting

You can't perform this operation on this endpoint.