Hello,

Glad you were able to create the campaign. The end point for Google Ads API is 
googleads.googleapis.com and the code sample for CURL operations is not yet 
available. I will update my team regarding your interest. Also, we see most of 
the advertisers using the client libraries that are provided in various 
languages which has more example and client library support is also available 
via GitHub.

I have attached my result log to create campaigns using Java client library for 
your reference.

Regarding,
Sai Teja, Google Ads API Team
ref:_00D1U1174p._5001UBe6ec:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/-5UdT000000000000000000000000000000000000000000000PSKYLI009tBTGzcQSI2nMHjyuGc1kA%40sfdc.net.
2019-06-04 10:57:48,572 INFO  [Gax-3] logging.RequestLogger 
(RequestLogger.java:157) - SUCCESS REQUEST SUMMARY. Method: 
google.ads.googleads.v1.services.CampaignBudgetService/MutateCampaignBudgets, 
Endpoint: googleads.googleapis.com:443, CustomerID: 8760527478, RequestID: 
UI1gmg0yXhJtvvlWZhX29Q, ResponseCode: OK, Fault: null.
2019-06-04 10:57:48,653 DEBUG [Gax-3] logging.RequestLogger 
(RequestLogger.java:161) - SUCCESS REQUEST DETAIL.
Request
-------
MethodName: 
google.ads.googleads.v1.services.CampaignBudgetService/MutateCampaignBudgets
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=1898404517, 
x-goog-api-client=gl-java/1.8.0_181-google-v7 gapic/ gax/1.35.0 grpc/1.16.1}
Body: customer_id: "8760527478"
operations {
  create {
    name {
      value: "Interplanetary Cruise Budget #1559660266658"
    }
    amount_micros {
      value: 500000
    }
    delivery_method: STANDARD
  }
}


Response
--------
Headers: 
Metadata(content-disposition=attachment,content-type=application/grpc,request-id=UI1gmg0yXhJtvvlWZhX29Q,x-google-esf-cloud-client-params=client_project_number:
 272094737371 backend_service_name: "googleads.googleapis.com" 
backend_fully_qualified_method: 
"google.ads.googleads.v1.services.CampaignBudgetService.MutateCampaignBudgets" 
,x-google-session-info=CLG4_INhGgQYECgLOmsSGGdvb2dsZWFkcy5nb29nbGVhcGlzLmNvbRjb5_DQ9QciSDI3MjA5NDczNzM3MS1sbHMwcW9pZHFwbHA0N2dqNmp2Y3JrNWljdGtiYWlpZy5hcHBzLmdvb2dsZXVzZXJjb250ZW50LmNvbUoPOg0xL2FVSTdsQWFPUWF-,date=Tue,
 04 Jun 2019 14:57:48 
GMT,x-google-gfe-request-trace=aclgan3-v6:443,qjia3:9850,/bns/ym/borg/ym/bns/adwords-simply/aw-webapi-esfproxy-prod.server/81,qjia3:9850,aclgan3-v6:443,x-google-gslb-service=adwords-frontend-webapi-esfproxy,x-google-backends=[2002:a17:509:3591::]:4277,/bns/ym/borg/ym/bns/adwords-simply/aw-webapi-esfproxy-prod.server/81,qjia3:9850,/bns/qj/borg/qj/bns/traffic-prod/shared-layer2-gfe/16,aclgan3-v6:443,x-google-dos-service-trace=main:adwords-frontend-webapi-esfproxy,main:shared-layer2-gfe,x-google-service=adwords-frontend-webapi-esfproxy,shared-layer2-grpc-aggregate,x-google-gfe-response-code-details-trace=response_code_set_by_backend,response_code_set_by_backend,x-google-gfe-response-body-transformations=chunked,chunked,x-google-shellfish-status=CA0gBEBG,alt-svc=quic=":443";
 ma=2592000; 
v="46,44,43,39",x-google-gfe-service-trace=adwords-frontend-webapi-esfproxy,shared-layer2-grpc-aggregate)
Body: results {
  resource_name: "customers/8760527478/campaignBudgets/2068944418"
}

Failure message: null
Status: Status{code=OK, description=null, cause=null}.
Added budget: customers/8760527478/campaignBudgets/2068944418
2019-06-04 10:57:49,269 INFO  [Gax-7] logging.RequestLogger 
(RequestLogger.java:157) - SUCCESS REQUEST SUMMARY. Method: 
google.ads.googleads.v1.services.CampaignService/MutateCampaigns, Endpoint: 
googleads.googleapis.com:443, CustomerID: 8760527478, RequestID: 
h2ZeIYqRKCM4dbmdOPXAgA, ResponseCode: OK, Fault: null.
2019-06-04 10:57:49,330 DEBUG [Gax-7] logging.RequestLogger 
(RequestLogger.java:161) - SUCCESS REQUEST DETAIL.
Request
-------
MethodName: google.ads.googleads.v1.services.CampaignService/MutateCampaigns
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=1898404517, 
x-goog-api-client=gl-java/1.8.0_181-google-v7 gapic/ gax/1.35.0 grpc/1.16.1}
Body: customer_id: "8760527478"
operations {
  create {
    name {
      value: "Interplanetary Cruise #1559660268687"
    }
    status: PAUSED
    campaign_budget {
      value: "customers/8760527478/campaignBudgets/2068944418"
    }
    advertising_channel_type: SEARCH
    network_settings {
      target_google_search {
        value: true
      }
      target_search_network {
        value: true
      }
      target_content_network {
      }
      target_partner_search_network {
      }
    }
    start_date {
      value: "20190605"
    }
    end_date {
      value: "20190704"
    }
    manual_cpc {
    }
  }
}
operations {
  create {
    name {
      value: "Interplanetary Cruise #1559660268731"
    }
    status: PAUSED
    campaign_budget {
      value: "customers/8760527478/campaignBudgets/2068944418"
    }
    advertising_channel_type: SEARCH
    network_settings {
      target_google_search {
        value: true
      }
      target_search_network {
        value: true
      }
      target_content_network {
      }
      target_partner_search_network {
      }
    }
    start_date {
      value: "20190605"
    }
    end_date {
      value: "20190704"
    }
    manual_cpc {
    }
  }
}


Response
--------
Headers: 
Metadata(content-disposition=attachment,content-type=application/grpc,request-id=h2ZeIYqRKCM4dbmdOPXAgA,x-google-esf-cloud-client-params=client_project_number:
 272094737371 backend_service_name: "googleads.googleapis.com" 
backend_fully_qualified_method: 
"google.ads.googleads.v1.services.CampaignService.MutateCampaigns" 
,x-google-session-info=CLG4_INhGgQYECgLOmsSGGdvb2dsZWFkcy5nb29nbGVhcGlzLmNvbRjb5_DQ9QciSDI3MjA5NDczNzM3MS1sbHMwcW9pZHFwbHA0N2dqNmp2Y3JrNWljdGtiYWlpZy5hcHBzLmdvb2dsZXVzZXJjb250ZW50LmNvbUoPOg0xL2FVSTdsQWFPUWF-,date=Tue,
 04 Jun 2019 14:57:49 
GMT,x-google-gfe-request-trace=aclgan9-v6:443,qjrt11:9822,/bns/ym/borg/ym/bns/adwords-simply/aw-webapi-esfproxy-prod.server/79,qjrt11:9822,aclgan9-v6:443,x-google-gslb-service=adwords-frontend-webapi-esfproxy,x-google-backends=[2002:a17:509:c726::]:4372,/bns/ym/borg/ym/bns/adwords-simply/aw-webapi-esfproxy-prod.server/79,qjrt11:9822,/bns/qj/borg/qj/bns/traffic-prod/shared-layer2-gfe/12,aclgan9-v6:443,x-google-dos-service-trace=main:adwords-frontend-webapi-esfproxy,main:shared-layer2-gfe,x-google-service=adwords-frontend-webapi-esfproxy,shared-layer2-grpc-aggregate,x-google-gfe-response-code-details-trace=response_code_set_by_backend,response_code_set_by_backend,x-google-gfe-response-body-transformations=chunked,chunked,x-google-shellfish-status=CA0gBEBG,alt-svc=quic=":443";
 ma=2592000; 
v="46,44,43,39",x-google-gfe-service-trace=adwords-frontend-webapi-esfproxy,shared-layer2-grpc-aggregate)
Body: results {
  resource_name: "customers/8760527478/campaigns/2005867824"
}
results {
  resource_name: "customers/8760527478/campaigns/2005867827"
}

Failure message: null
Status: Status{code=OK, description=null, cause=null}.
Added 2 campaigns:
customers/8760527478/campaigns/2005867824
customers/8760527478/campaigns/2005867827

Reply via email to