Re: Callout extensions: Ad group extension and Ad group extension

2017-04-12 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi, 

Could you enable logging and provide the SOAP request and response logs for 
the requests where you encountered this error? Please use *Reply privately 
to author* when responding. 

Thanks,
Shwetha, AdWords API Team. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9d7ad4a0-5f7b-4f6e-92bd-42fe01a109d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Callout extensions: Ad group extension and Ad group extension

2017-04-12 Thread radim . kleinpeter
Hi,
could you help me with API 
error ExtensionSettingError.INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION which 
I get always I call the requet to create new callout in Account level.
Everything works great when I create new callout related to AdGroup od 
Campaign (Using CampaignExtensionSettingService or 
AdGroupExtensionSettingService). But if I use 
CustomerExtensionSettingService like this:

// Get CustomerExtensionSettingService
$extensionSettingService = 
$this->_getService(cm\CustomerExtensionSettingService::class); // Internal 
method to get service correctly


$calloutFeedItem = (new cm\CalloutFeedItem())
->setFeedType(cm\FeedType::CALLOUT)
->setCalloutText('Test Callout');

// Prepare basic data
$extensionSetting = (new cm\CustomerExtensionSetting())
// ->setCampaignId(...) // when I tried to create to AdGroup or campaign
->setExtensionType(cm\FeedType::CALLOUT)
->setExtensionSetting(new cm\ExtensionSetting([$calloutFeedItem]));


// Create operation
$operations = new cm\CustomerExtensionSettingOperation(cm\Operator::ADD, null, 
$extensionSetting);

// Add the callout over API to adwords
$result = $extensionSettingService->mutate([$operations]);


there si error Uncaught Google\AdsApi\AdWords\v201702\cm\ApiException: 
[ExtensionSettingError.INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION @ 
operations[0].operand].

Very straingh weird is that all this works fine in test account... But on 
real, production account it throw this error.

Thank you for responses

Dne neděle 26. března 2017 13:29:42 UTC+2 di...@algomizer.com napsal(a):
>
> Hi,
> Thank you for assistance,
> this is code snippet that I wrote for adding call out extension for 
> account:
>
> public CustomerExtensionSettingReturnValue 
> SetAccountCallOutExtention(string customerId, string calloutText)
> {
> CustomerExtensionSettingService 
> customerExtensionSettingService = 
> 
> (CustomerExtensionSettingService)AdwordsUser.GetService(AdWordsService.v201702.CustomerExtensionSettingService);
> 
> _customerExtensionSettingService.RequestHeader.clientCustomerId = 
> customerId;
> CustomerExtensionSetting customerExtensionSetting = new 
> CustomerExtensionSetting
> {
> extensionType = FeedType.CALLOUT,
> extensionSetting = new ExtensionSetting()
> {
> extensions = new ExtensionFeedItem[]
> {
> new CalloutFeedItem
> {
> calloutText = calloutText,
> feedType = FeedType.CALLOUT
> }
> }
> }
> };
>
> CustomerExtensionSettingOperation customerOperation = new 
> CustomerExtensionSettingOperation()
> {
> operand = customerExtensionSetting,
> @operator = Operator.ADD,
> };
>
> return customerExtensionSettingService.mutate(new[] { 
> customerOperation });
> }
>
> On Thursday, March 23, 2017 at 8:24:09 PM UTC+2, Shwetha Vastrad (AdWords 
> API Team) wrote:
>>
>> Hi, 
>>
>> You need to set the clientCustomerId in the request header 
>> 
>>  to 
>> add an extension at the customer level using 
>> CustomerExtensionSettingService 
>> .
>>  
>> You will not be setting the customerId in the CustomerExtensionSetting 
>> 
>>  object. 
>> You can programmatically set the clientCustomerId at runtime by following 
>> the instructions provided here 
>> 
>>  for 
>> your client library. 
>>
>> Regards,
>> Shwetha, AdWords API Team.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this

Re: Callout extensions: Ad group extension and Ad group extension

2017-03-27 Thread dima
Yes,
this what I did in line:
_customerExtensionSettingService.RequestHeader.clientCustomerId = 
customerId;

the code snippet I posted is working example that I wrote,
I posted it here as an example if some one will look for solution

On Monday, March 27, 2017 at 9:03:10 AM UTC+3, Ivan Bautista wrote:
>
> Hi,
>
> As mentioned by my colleague earlier, to include the clientCustomerId in 
> the request header at runtime, you can programmatically set it by following 
> the instructions (refer to the section of the language you are using) 
> provided in this guide 
> 
> .
>
> For example, if you are using C# for development, then you may set 
> clientCustomerId programmatically using the Config property of the 
> AdWordsUser object. Please refer to the sample code below: 
>
> AdWordsUser user = new AdWordsUser(); 
> AdWordsAppConfig config = (AdWordsAppConfig) user.Config; 
>
> user.Config.clientCustomerId = "";
>
>
> Regards,
> Ivan
> AdWords API Team 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ffd516ee-3bc2-4bdb-9860-c9994301c031%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Callout extensions: Ad group extension and Ad group extension

2017-03-26 Thread 'Ivan Bautista' via AdWords API Forum
Hi,

As mentioned by my colleague earlier, to include the clientCustomerId in 
the request header at runtime, you can programmatically set it by following 
the instructions (refer to the section of the language you are using) 
provided in this guide 

.

For example, if you are using C# for development, then you may set 
clientCustomerId programmatically using the Config property of the 
AdWordsUser object. Please refer to the sample code below: 

AdWordsUser user = new AdWordsUser(); 
AdWordsAppConfig config = (AdWordsAppConfig) user.Config; 

user.Config.clientCustomerId = "";


Regards,
Ivan
AdWords API Team 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c00600fa-3c77-473e-b8f3-d3f031c4de9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Callout extensions: Ad group extension and Ad group extension

2017-03-26 Thread dima
Hi,
Thank you for assistance,
this is code snippet that I wrote for adding call out extension for account:

public CustomerExtensionSettingReturnValue 
SetAccountCallOutExtention(string customerId, string calloutText)
{
CustomerExtensionSettingService customerExtensionSettingService 
= 

(CustomerExtensionSettingService)AdwordsUser.GetService(AdWordsService.v201702.CustomerExtensionSettingService);
_customerExtensionSettingService.RequestHeader.clientCustomerId 
= customerId;
CustomerExtensionSetting customerExtensionSetting = new 
CustomerExtensionSetting
{
extensionType = FeedType.CALLOUT,
extensionSetting = new ExtensionSetting()
{
extensions = new ExtensionFeedItem[]
{
new CalloutFeedItem
{
calloutText = calloutText,
feedType = FeedType.CALLOUT
}
}
}
};

CustomerExtensionSettingOperation customerOperation = new 
CustomerExtensionSettingOperation()
{
operand = customerExtensionSetting,
@operator = Operator.ADD,
};

return customerExtensionSettingService.mutate(new[] { 
customerOperation });
}

On Thursday, March 23, 2017 at 8:24:09 PM UTC+2, Shwetha Vastrad (AdWords 
API Team) wrote:
>
> Hi, 
>
> You need to set the clientCustomerId in the request header 
> 
>  to 
> add an extension at the customer level using 
> CustomerExtensionSettingService 
> .
>  
> You will not be setting the customerId in the CustomerExtensionSetting 
> 
>  object. 
> You can programmatically set the clientCustomerId at runtime by following 
> the instructions provided here 
> 
>  for 
> your client library. 
>
> Regards,
> Shwetha, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b3fab1cd-8515-4578-8c46-7b7f5103e47b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Callout extensions: Ad group extension and Ad group extension

2017-03-23 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi, 

You need to set the clientCustomerId in the request header 

 to 
add an extension at the customer level using CustomerExtensionSettingService 
.
 
You will not be setting the customerId in the CustomerExtensionSetting 

 object. 
You can programmatically set the clientCustomerId at runtime by following 
the instructions provided here 

 for 
your client library. 

Regards,
Shwetha, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ba0de3cb-c8a8-4ee6-ac1f-deb05743e100%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Callout extensions: Ad group extension and Ad group extension

2017-03-23 Thread dima
Hi,
the problem with CustomerExtensionSettingService 

  
that I can't find where customerId can be set ?
I need to set callout extension for specific customer and not for 
all ManagedCustomers under the same Manager adwords user
Can you assist ?

code spinet with using of CustomerExtensionSettingService 

:

CustomerExtensionSetting customerExtensionSetting = new 
CustomerExtensionSetting
{
extensionType = FeedType.CALLOUT,
extensionSetting = new ExtensionSetting()
{
extensions = new ExtensionFeedItem[]
{
new CalloutFeedItem
{
calloutText = "account level callout feed",
feedType = FeedType.CALLOUT
}
}
}
};

CustomerExtensionSettingOperation customerOperation = new 
CustomerExtensionSettingOperation()
{
operand = customerExtensionSetting,
@operator = Operator.ADD,
};

CustomerExtensionSettingService 
customerExtensionSettingService = 

(CustomerExtensionSettingService)AdwordsUser.GetService(AdWordsService.v201702.CampaignExtensionSettingService);

CustomerExtensionSettingReturnValue 
customerExtensionSettingReturnValue = 
customerExtensionSettingService.mutate(new[] { customerOperation });
 

On Tuesday, March 21, 2017 at 11:11:49 PM UTC+2, Shwetha Vastrad (AdWords 
API Team) wrote:
>
> Hi, 
>
> To create callout extensions at the account level, you'll need to use 
> CustomerExtensionSettingService 
> 
>  to 
> add CalloutFeedItem 
> s.
>  
> The code snippet provided here 
> 
>  shows 
> how to add a CalloutFeedItem at the Campaign level using 
> CampaignExtensionSettingService 
> .
>  
> You'll need to modify this to add a CalloutFeedItem the Customer level 
> instead. 
>
> Regards,
> Shwetha, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/aa46fffb-f50c-4c12-b11f-90805e5b5b6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Callout extensions: Ad group extension and Ad group extension

2017-03-21 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi, 

To create callout extensions at the account level, you'll need to use 
CustomerExtensionSettingService 

 to 
add CalloutFeedItem 
s.
 
The code snippet provided here 

 shows 
how to add a CalloutFeedItem at the Campaign level using 
CampaignExtensionSettingService 
.
 
You'll need to modify this to add a CalloutFeedItem the Customer level 
instead. 

Regards,
Shwetha, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/dfa98b2c-e95f-429a-94b8-9ddf5d897037%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Callout extensions: Ad group extension and Ad group extension

2017-03-21 Thread dima
Hi, 
Can you advise how to make callout extensions can be added on account level 
?

On Friday, January 13, 2017 at 12:33:32 AM UTC+2, Matthew Wawrin wrote:
>
> Hi,
>
> You can use the AdGroupExtensionSettingService similar to how the document 
> you reference uses the CampaignExtensionSettingService, but instead of 
> specifying a campaignId, you specify an adGroupId.
> See the reference:
>
> https://developers.google.com/adwords/api/docs/reference/v201609/AdGroupExtensionSettingService
> and
>
> https://developers.google.com/adwords/api/docs/reference/v201609/AdGroupExtensionSettingService.AdGroupExtensionSetting
>
> I don't believe there's example code specific to adGroupExtensionSetting, 
> but it's nearly identical to the campaign setting, but with adgroup 
> substituted for campaign.
>
> Hope this helps.  
>
> On Thursday, January 12, 2017 at 4:18:27 AM UTC-6, di...@algomizer.com 
> wrote:
>>
>> How can I create callout extensions as Ad group extension or/and Ad group 
>> extension
>>
>> I can create callout extensions in Campaign extension level according to 
>> example:
>>
>> https://developers.google.com/adwords/api/docs/guides/extension-settings#callout_extensions
>>
>> but I can't find how can it be created in Ad group extension or/and Ad 
>> group extension level
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/dfa71c6d-48c4-4852-9050-af11c6832964%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Callout extensions: Ad group extension and Ad group extension

2017-03-21 Thread dima
Implementation according to your answer:

public AdGroupExtensionSettingReturnValue 
CreateAccountCalloutExtension(long adGroupId, string calloutText)
{
AdGroupExtensionSetting adGroupExtensionSetting = new 
AdGroupExtensionSetting
{
adGroupId = adGroupId,
extensionType = FeedType.CALLOUT,
extensionSetting = new ExtensionSetting()
{
extensions = new ExtensionFeedItem[]
{
new CalloutFeedItem() {calloutText = calloutText}
}
}
};


var operation = new AdGroupExtensionSettingOperation()
{
operand = adGroupExtensionSetting,
@operator = Operator.ADD
};

Logger.Instance.Info($"Attempting to create callout extension 
for AdGroup. text: {calloutText}");

return _adGroupExtensionSettingService.mutate(new[] { operation 
});
}

On Friday, January 13, 2017 at 12:33:32 AM UTC+2, Matthew Wawrin wrote:
>
> Hi,
>
> You can use the AdGroupExtensionSettingService similar to how the document 
> you reference uses the CampaignExtensionSettingService, but instead of 
> specifying a campaignId, you specify an adGroupId.
> See the reference:
>
> https://developers.google.com/adwords/api/docs/reference/v201609/AdGroupExtensionSettingService
> and
>
> https://developers.google.com/adwords/api/docs/reference/v201609/AdGroupExtensionSettingService.AdGroupExtensionSetting
>
> I don't believe there's example code specific to adGroupExtensionSetting, 
> but it's nearly identical to the campaign setting, but with adgroup 
> substituted for campaign.
>
> Hope this helps.  
>
> On Thursday, January 12, 2017 at 4:18:27 AM UTC-6, di...@algomizer.com 
> wrote:
>>
>> How can I create callout extensions as Ad group extension or/and Ad group 
>> extension
>>
>> I can create callout extensions in Campaign extension level according to 
>> example:
>>
>> https://developers.google.com/adwords/api/docs/guides/extension-settings#callout_extensions
>>
>> but I can't find how can it be created in Ad group extension or/and Ad 
>> group extension level
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ee8d06a6-ced3-4150-9e31-c0f6ab9daeef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Callout extensions: Ad group extension and Ad group extension

2017-01-12 Thread Matthew Wawrin
Hi,

You can use the AdGroupExtensionSettingService similar to how the document 
you reference uses the CampaignExtensionSettingService, but instead of 
specifying a campaignId, you specify an adGroupId.
See the reference:
https://developers.google.com/adwords/api/docs/reference/v201609/AdGroupExtensionSettingService
and
https://developers.google.com/adwords/api/docs/reference/v201609/AdGroupExtensionSettingService.AdGroupExtensionSetting

I don't believe there's example code specific to adGroupExtensionSetting, 
but it's nearly identical to the campaign setting, but with adgroup 
substituted for campaign.

Hope this helps.  

On Thursday, January 12, 2017 at 4:18:27 AM UTC-6, di...@algomizer.com 
wrote:
>
> How can I create callout extensions as Ad group extension or/and Ad group 
> extension
>
> I can create callout extensions in Campaign extension level according to 
> example:
>
> https://developers.google.com/adwords/api/docs/guides/extension-settings#callout_extensions
>
> but I can't find how can it be created in Ad group extension or/and Ad 
> group extension level
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4a35116c-a601-4080-8244-37525a921c86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Callout extensions: Ad group extension and Ad group extension

2017-01-12 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
Hi, 

Yes, you should be able to create 'CALLOUT' extension at AdGroup level. We 
dont have a sample for this specific case, but you could refer to this 

 example 
which is associating 'SITELINK' to a campaign. You will need to modify the 
code to use AdGroupExtensionSettingServiceInterface 

 instead. 
Below is a sample SOAP request log:

 
https://adwords.google.com/api/adwords/cm/v201609";>

ADD

***
CALLOUT

https://adwords.google.com/api/adwords/cm/v201609"; 
xsi:type="ns2:CalloutFeedItem">
Free delivery

https://adwords.google.com/api/adwords/cm/v201609"; 
xsi:type="ns3:CalloutFeedItem">
Kids eat free







Thanks,
Sreelakshmi, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/04cf8003-bcdd-4e5e-93e8-89f70eb6e333%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Callout extensions: Ad group extension and Ad group extension

2017-01-12 Thread dima
How can I create callout extensions as Ad group extension or/and Ad group 
extension

I can create callout extensions in Campaign extension level according to 
example:
https://developers.google.com/adwords/api/docs/guides/extension-settings#callout_extensions

but I can't find how can it be created in Ad group extension or/and Ad 
group extension level

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6a1ea36f-2f12-48d6-b41c-a6c48967f9ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.