Re: Setting Conversions to Campaigns - AdwordsAPI

2021-05-26 Thread Google Ads API Forum Advisor Prod
Hi Pradeep,

Thank you for your follow up questions. I work with Matt and allow me to assist 
you.

Can you provide me with information on which type of campaigns support multiple 
Conversions

Since this is more of a product related concern, I would recommend that you 
reach out instead to the Google Ads Product support team, via this link, for 
further guidance if multiple conversions is supported in the different campaign 
types.

In Google UI, I am able to add multiple conversions to "Search" Campaign by 
creating Conversion Set. So can I achieve the same thing in API . If so how can 
I do it?

This is currently not supported in the API. That said, allow me to create a 
feature request, subject for review. For now, you may keep an eye on our blog 
for updates or announcements.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2HCXjz: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4-6gv0QTPH9200HbN1bemkTdSK4OQOGcsmYQ%40sfdc.net.


Re: Setting Conversions to Campaigns - AdwordsAPI

2021-05-25 Thread pradeep...@gmail.com

Hi Matt,

Can you please provide me info on the following

   1. Can you provide me with information on which type of campaigns 
   support multiple Conversions
   2. In Google UI, I am able to add multiple conversions to "Search" 
   Campaign by creating Conversion Set. So can I achieve the same thing in API 
   . If so how can I do it?

Thank You,
Pradeep Datla.

On Tuesday, May 25, 2021 at 11:54:52 AM UTC-7 adsapiforumadvisor wrote:

> Hello,
>
> Thanks for providing the complete logs. Not all campaign types can have 
> multiple associated conversion actions. In particular, search campaigns 
> only allow one conversion action (hence, " trigger:'SEARCH' ", in the 
> logs). Please let us know if there is anything else that we can help with. 
>
> Regards,
>
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>
>
> ref:_00D1U1174p._5004Q2HCXjz: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3a37e01f-a232-4912-86f5-0a57686928a6n%40googlegroups.com.


Re: Setting Conversions to Campaigns - AdwordsAPI

2021-05-25 Thread Google Ads API Forum Advisor Prod
Hello,

Thanks for providing the complete logs. Not all campaign types can have 
multiple associated conversion actions. In particular, search campaigns only 
allow one conversion action (hence, " trigger:'SEARCH' ", in the logs). Please 
let us know if there is anything else that we can help with.

Regards,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2HCXjz: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/sImKy0QTOF6W00RgnIBcooROWU1lGFPiKezA%40sfdc.net.


Re: Setting Conversions to Campaigns - AdwordsAPI

2021-05-24 Thread pradeep...@gmail.com
I have attached details log file for further investigation. Please let me 
know what the issue is

*What i am trying to do: *I am trying to add multiple conversions to a 
campaign using Adwords API.

*Code:* C#
List operations = new List();

using (GoogleService.CampaignService campaignService = 
(GoogleService.CampaignService)user.GetService(AdWordsService.v201809.CampaignService))
{

Campaign campaign = new Campaign
{
id = Convert.ToInt64(IDHERE)
};

SelectiveOptimization optimize = new 
SelectiveOptimization();
optimize.conversionTypeIds = new long[] { 589653082L, 
588617162L };
ListOperations listOperation = new ListOperations();
listOperation.operators = new ListOperationsListOperator[] 
{ ListOperationsListOperator.PUT, ListOperationsListOperator.PUT };
optimize.conversionTypeIdsOps = listOperation;
campaign.selectiveOptimization = optimize;
   

// Create the operation.
CampaignOperation operation = new CampaignOperation
{
@operator = Operator.SET,
operand = campaign
};

operations.Add(operation);
CampaignReturnValue retVal = null;
try
{
// Add the campaign.
retVal = campaignService.mutate(operations.ToArray());
}
catch (Exception campaignEx)
{
throw campaignEx;
}

Thank You,
Pradeep Datla.

On Friday, May 21, 2021 at 11:33:42 AM UTC-7 adsapiforumadvisor wrote:

> Hello,
>
> Thanks for reaching out. Can you please provide us with the complete 
> request and response logs for this issue?
>
> Thanks,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2HCXjz: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/41c29761-4f10-44e8-b308-366e856754cfn%40googlegroups.com.
AdsClientLibs.DetailedRequestLogs Information: 1 : 
-BEGIN API CALL-

Request
---

POST /api/adwords/cm/v201809/CampaignService
VsDebuggerCausalityData: 
uIDPo3MJVIlH5J9JmnDn7A572MoA0o4hWobXy0aGJ2Fxxxa7/6y/mDk43bNBqjjd5XmZSvAACQAA
Authorization: REDACTED
Accept-Encoding: gzip, deflate
TimeStamp: Mon, 24 May 2021 16:59:03 GMT



http://schemas.xmlsoap.org/soap/envelope/;>
  
https://adwords.google.com/api/adwords/cm/v201809;>
  5928488252
  REDACTED
  unknown (AwApi-DotNet/24.9.0, Common-Dotnet/9.5.0, .NET 
CLR/4.0.30319.42000, Logging, OAuthServiceAccountFlow, gzip)

  
  http://www.w3.org/2001/XMLSchema-instance; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema;>
https://adwords.google.com/api/adwords/cm/v201809;>
  
SET

  10649110201
  
589653082
588617162

  PUT
  PUT

  

  

  


Response


Content-Type: text/xml; charset=UTF-8
Content-Encoding: 
Date: Mon, 24 May 2021 23:59:03 GMT
Expires: Mon, 24 May 2021 23:59:03 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Content-Security-Policy: frame-ancestors 'self'
X-XSS-Protection: 1; mode=block
Server: GSE
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; 
ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; 
ma=2592000; v="46,43"
Transfer-Encoding: chunked
TimeStamp: Mon, 24 May 2021 16:59:03 GMT



http://schemas.xmlsoap.org/soap/envelope/;>
  
https://adwords.google.com/api/adwords/cm/v201809;>
  0005c31c31a803e80aa791586e0980cb
  CampaignService
  mutate
  1
  206

  
  

  soap:Client
  
[CampaignError.CAMPAIGN_CANNOT_SET_MORE_THAN_ONE_CONVERSION_TYPE_ID
 @ operations[0].operand.selectiveOptimization.conversionTypeIds; 
trigger:'SEARCH']
  

RE: Setting Conversions to Campaigns - AdwordsAPI

2021-05-21 Thread Google Ads API Forum Advisor Prod
Hello,

Thanks for reaching out. Can you please provide us with the complete request 
and response logs for this issue?

Thanks,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2HCXjz: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/mFjFw0QTGZJQ0064sL9qdVR5qqGk9f2uuWYg%40sfdc.net.


Setting Conversions to Campaigns - AdwordsAPI

2021-05-20 Thread pradeep...@gmail.com
Hi,

I would like to connect conversions to a campaign. I am currently using 
Adwords API to achieve this.
I tried adding Conversions using selective optimization, But i am unable to 
add multiple conversions to campaign 
(https://developers.google.com/adwords/api/docs/reference/v201809/CampaignService.SelectiveOptimization.html)
Error i get : 
CampaignError.CAMPAIGN_CANNOT_SET_MORE_THAN_ONE_CONVERSION_TYPE_ID

I would like to know how to add multiple conversions to campaign. 

Thank You,
Pradeep Datla.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f185003c-1683-47bf-90f6-ca34bc027702n%40googlegroups.com.