Michael,

What AdWords API version were you using?  For call extension, you should 
use the Feed 
service<https://developers.google.com/adwords/api/docs/guides/feed-services>. 
 The call extension can be used w/ the feed service by using appropriate 
placeholder 
types <https://developers.google.com/adwords/api/docs/appendix/placeholders>
.

Thanks,

Ray

On Friday, April 25, 2014 7:48:24 AM UTC-4, Michael wrote:
>
> I have a phone number ad extension on my adwords campaign. I don't see any 
> information on how to retrieve those phone numbers via the api. I see that 
> in earlier versions, you can get this from the CampaignAdExtensionService 
> but in the later versions, this doc was removed. 
>
> I've tried something like this:
>
>  def get_ad_extension_numbers(campaign):
>>
>>
>>>         extension_service = 
>>> client.GetService('CampaignAdExtensionService', version='v201402')
>>
>>
>>>         selector = {
>>
>>           'fields': ['PhoneNumber'],
>>
>>           'predicates': [
>>
>>               {
>>
>>                   'field': ['CampaignId'],
>>
>>                   'operator': 'EQUALS',
>>
>>                   'values': [campaign['id']]
>>
>>               },
>>
>>               {
>>
>>                   'field': 'AdExtensionType',
>>
>>                   'operator': 'EQUALS',
>>
>>                   'values': ['MOBILE_EXTENSION']
>>
>>
>>>               }
>>
>>             ]
>>
>>         }
>>
>>
>>>         ret = extension_service.get(selector)
>>
>>
>>>         return ret
>>
>>
> Which executes without error but does not give me the phone numbers that 
> are in my adwords account. 
>
> I also understand that in reporting, you can see phone numbers that were 
> clicked, but I want to list all the phone numbers and their attached 
> campaigns. Is this available? 
>
> I'd also like to write new phone numbers and assign them to campaigns. Is 
> there a way to do this?
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to