Get Campaign V3
URL: http://login.performcb.com/api/v3/cb_api?get=get_campaign
Parameters:
- api_key [STRING] = Affiliate API Key
- user_id [INT] = Affiliate ID
- campaign_id[INT] = Campaign ID
Sample XML Response:
<get_campaign_response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<success>true</success>
<number_of_rows>1</number_of_rows>
<campaign>
<offer_id>4655</offer_id>
<offer_owner_id>3</offer_owner_id>
<campaign_id>309</campaign_id>
<offer_name>LinkUnsubOffer</offer_name>
<vertical_name>Mailer Vertical</vertical_name>
<campaign_url>http://example.com</campaign_url>
<status>Active</status>
<price_model>CPA</price_model>
<restrictions>Restrictions (if any)</restrictions>
<media_types>
<media_type>
<media_type_id>6</media_type_id>
<media_type_name>Email</media_type_name>
<media_category_id>2</media_category_id>
<media_category_name>Email</media_category_name>
</media_type>
</media_types>
<end_date xsi:nil="true"/>
<creative_download_url>
http://dev.cbweb/api/v2/campaigns/309/creative
</creative_download_url>
<creative>
<creative_id>14</creative_id>
<creative_name>LinkUnsubCreative</creative_name>
</creative>
<from_lines>
<string>From Lines</string>
</from_lines>
<subject_lines>
<string>Subject Line</string>
</subject_lines>
<unsubscribe_link>http://.../</unsubscribe_link>
<suppression_link>http://cons.cc</suppression_link>
</campaign>
</get_campaign_response>
Contact Information
If you still have questions, you can contact our support team here.